Native-compile everything on load-path
Add an extra pass to `doom build` to queue native compilation of all packages on `load-path`. This ensures that all core and site Elisp packages are actually native-compiled, even on "fast boot" builds. Add `.local/autolads.el` to the blacklist as native-compiling this file succeeds, but prevents emacs from starting up. Revise the evil-collection-vterm blacklist entry to use a more efficient regex. Fix a bug where an updated .error file wasn't always written, causing spurious rebuilds.
This commit is contained in:
parent
1d0f1575aa
commit
2e07a85590
2 changed files with 79 additions and 35 deletions
|
@ -285,7 +285,9 @@ config.el instead."
|
|||
|
||||
(after! comp
|
||||
;; HACK Disable native-compilation for some troublesome packages
|
||||
(add-to-list 'comp-deferred-compilation-black-list "/evil-collection-vterm\\.el\\'"))
|
||||
(dolist (entry (list (concat "\\`" doom-local-dir ".*/evil-collection-vterm\\.el\\'")
|
||||
(concat "\\`" doom-local-dir "autoloads\\.el\\'")))
|
||||
(add-to-list 'comp-deferred-compilation-black-list entry)))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue