parent
6c52e33302
commit
ce31880ccc
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ Tries to be portable. Returns 1 if cannot be determined."
|
||||||
(or (get 'doom-system-cpus 'cached-value)
|
(or (get 'doom-system-cpus 'cached-value)
|
||||||
(put 'doom-system-cpus 'cached-value
|
(put 'doom-system-cpus 'cached-value
|
||||||
(let ((cpus
|
(let ((cpus
|
||||||
(cond ((eq 'windows-nt system-type)
|
(cond ((fboundp 'w32-get-nproc)
|
||||||
(w32-get-nproc))
|
(w32-get-nproc))
|
||||||
((getenv "NUMBER_OF_PROCESSORS"))
|
((getenv "NUMBER_OF_PROCESSORS"))
|
||||||
((executable-find "nproc")
|
((executable-find "nproc")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue