emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed


From: Robert Pluim
Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed
Date: Thu, 10 Feb 2022 11:28:33 +0100

>>>>> On Wed, 09 Feb 2022 19:23:17 +0100, "H. Dieter Wilhelm" 
>>>>> <dieter@duenenhof-wilhelm.de> said:

    Dieter>     ;; harfbuzz
    Dieter>     (insert-feature "Harfbuzz - text shaping library "
    Dieter>                     (eq 'harfbuzz 
    Dieter>                         (car (frame-parameter nil
    Dieter>     'font-backend))))

If only. On GNU/Linux 'font-backend will return something like
'(ftcrhb x) or '(fthb x) or '(xfthb x). Although adding a
`harfbuzz-available-p' function could be done.

    Dieter>     ;; zlib
    Dieter>     (insert-feature "Zlib - compression library" (zlib-available-p))
    Dieter>     ;; libxml
    Dieter>     (insert-feature "xml2 - parser library" (libxml-available-p))
    Dieter>     ;; lcms lcms2-available-p
    Dieter>     (insert-feature "lcms2 - color translator library" 
(image-type-available-p 'pbm))
    Dieter>     (insert-feature "JSON - data exchange library"
    Dieter>                     (progn (require 'json) (fboundp
    Dieter>     'json-serialize)))

`json-available-p'

    Dieter>     (insert-feature "GNUTLS - secure communication library" 
(gnutls-available-p))
    Dieter>     (insert-feature "pbm - image library" (image-type-available-p 
'pbm))
    Dieter>     (insert-feature "xpm - image library" (image-type-available-p 
'xpm))
    Dieter>     (insert-feature "bmp - image library" (image-type-available-p 
'bmp))
    Dieter>     (insert-feature "gif - image library" (image-type-available-p 
'gif))
    Dieter>     (insert-feature "png - image library" (image-type-available-p 
'png))
    Dieter>     (insert-feature "xpm - image library" (image-type-available-p 
'xpm))
    Dieter>     (insert-feature "jpeg - image library" (image-type-available-p 
'jpeg))
    Dieter>     (insert-feature "tiff - image library" (image-type-available-p 
'tiff))
    Dieter>     (insert-feature "svg - image library" (image-type-available-p 
'svg))
    Dieter>     (insert-feature "native images" (image-type-available-p 
'native-image))
    Dieter>     ;; what are native images?

Itʼs using the platform native image APIs rather than libjpeg etc. I
think this is macOS/Windows specific?

    Dieter>     ;; jansson = json?

Yes.

    Dieter>     ;; thread support?

(featurep 'thread)

    Dieter>     ;; modules

(not (null module-file-suffix))

    Dieter>     ;; gmp <- gnutls
    Dieter>     (read-only-mode 1))


Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]