Merge pull request #178408 from trofi/add-config.enableParallelBuildingByDefault
config.configurePlatformsByDefault: init option
This commit is contained in:
commit
b0f5f5cc96
2 changed files with 6 additions and 2 deletions
|
@ -111,9 +111,9 @@ let
|
|||
, # Target is not included by default because most programs don't care.
|
||||
# Including it then would cause needless mass rebuilds.
|
||||
#
|
||||
# TODO(@Ericson2314): Make [ "build" "host" ] always the default.
|
||||
# TODO(@Ericson2314): Make [ "build" "host" ] always the default / resolve #87909
|
||||
configurePlatforms ? lib.optionals
|
||||
(stdenv.hostPlatform != stdenv.buildPlatform)
|
||||
(stdenv.hostPlatform != stdenv.buildPlatform || config.configurePlatformsByDefault)
|
||||
[ "build" "host" ]
|
||||
|
||||
# TODO(@Ericson2314): Make unconditional / resolve #33599
|
||||
|
|
|
@ -50,6 +50,10 @@ let
|
|||
feature = "set <literal>enableParallelBuilding</literal> to true by default";
|
||||
};
|
||||
|
||||
configurePlatformsByDefault = mkMassRebuild {
|
||||
feature = "set <literal>configurePlatforms</literal> to <literal>[\"build\" \"host\"]</literal> by default";
|
||||
};
|
||||
|
||||
contentAddressedByDefault = mkMassRebuild {
|
||||
feature = "set <literal>__contentAddressed</literal> to true by default";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue