blob: 124f57b1b56e346400b90887d787afb32786be1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
;;; Go VROOM-VROOM
(setq gc-cons-threshold 10000000)
;;; Setup the cache directory nice and early; we use it everywhere
(make-directory "~/.cache/emacs" t)
;;; Configure package.el directories
(setq
package-user-dir "~/.cache/emacs/elpa/"
package-gnupghome-dir "~/.cache/emacs/elpa/gnupg")
;;; Configure native-comp cache direactory
(when (boundp 'native-comp-eln-load-path)
(startup-redirect-eln-cache "~/.cache/emacs/eln-cache"))
;;; Suppress native-comp warnings on startup
(setq warning-suppress-log-types '((comp) (bytecomp)))
;;; HACK: Work around native compilation errors on macOS + Macports...
(if (eq system-type 'darwin)
(setenv "LIBRARY_PATH" "/opt/local/lib/gcc12/gcc/arm64-apple-darwin23/12.3.0")
)
|