mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-21 13:53:38 -05:00
Merge pull request #4718 from daedric/ts/fix-cc-module
Use new CPU counter function in cc module
This commit is contained in:
@@ -296,7 +296,7 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e
|
|||||||
(when (or IS-MAC IS-LINUX)
|
(when (or IS-MAC IS-LINUX)
|
||||||
(setq ccls-initialization-options
|
(setq ccls-initialization-options
|
||||||
`(:index (:trackDependency 1
|
`(:index (:trackDependency 1
|
||||||
:threads ,(max 1 (/ (doom-num-cpus) 2))))))
|
:threads ,(max 1 (/ (doom-system-cpus) 2))))))
|
||||||
(when IS-MAC
|
(when IS-MAC
|
||||||
(setq ccls-initialization-options
|
(setq ccls-initialization-options
|
||||||
(append ccls-initialization-options
|
(append ccls-initialization-options
|
||||||
|
Reference in New Issue
Block a user