mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Optimizations] Work-aroud issue with way too many processes started in LTO stages with some build systems
This commit is contained in:
parent
fab3337f07
commit
3d766db870
1 changed files with 2 additions and 1 deletions
|
|
@ -15,11 +15,12 @@ let
|
||||||
cpuArch ? generalCfg.cpuArch ,
|
cpuArch ? generalCfg.cpuArch ,
|
||||||
cpuTune ? generalCfg.cpuTune ,
|
cpuTune ? generalCfg.cpuTune ,
|
||||||
extraCFlags ? cfg.extraCompileFlags ,
|
extraCFlags ? cfg.extraCompileFlags ,
|
||||||
|
cpuCores ? generalCfg.cores ,
|
||||||
...
|
...
|
||||||
}@attrs:
|
}@attrs:
|
||||||
_trace (
|
_trace (
|
||||||
(myLib.optimizations.makeOptimizationFlags ({
|
(myLib.optimizations.makeOptimizationFlags ({
|
||||||
inherit lto go cpuArch cpuTune extraCFlags;
|
inherit lto go cpuArch cpuTune extraCFlags cpuCores;
|
||||||
} // attrs))
|
} // attrs))
|
||||||
// (optionalAttrs cmake {
|
// (optionalAttrs cmake {
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue