Merge pull request #74661 from itsapinhulk/boost_extra_args
boost : support extra arguments to b2
This commit is contained in:
commit
e4d1d83f95
@ -14,6 +14,7 @@
|
|||||||
, taggedLayout ? ((enableRelease && enableDebug) || (enableSingleThreaded && enableMultiThreaded) || (enableShared && enableStatic))
|
, taggedLayout ? ((enableRelease && enableDebug) || (enableSingleThreaded && enableMultiThreaded) || (enableShared && enableStatic))
|
||||||
, patches ? []
|
, patches ? []
|
||||||
, mpi ? null
|
, mpi ? null
|
||||||
|
, extraB2Args ? []
|
||||||
|
|
||||||
# Attributes inherit from specific versions
|
# Attributes inherit from specific versions
|
||||||
, version, src
|
, version, src
|
||||||
@ -92,7 +93,8 @@ let
|
|||||||
++ optional (mpi != null || stdenv.hostPlatform != stdenv.buildPlatform) "--user-config=user-config.jam"
|
++ optional (mpi != null || stdenv.hostPlatform != stdenv.buildPlatform) "--user-config=user-config.jam"
|
||||||
++ optionals (stdenv.hostPlatform.libc == "msvcrt") [
|
++ optionals (stdenv.hostPlatform.libc == "msvcrt") [
|
||||||
"threadapi=win32"
|
"threadapi=win32"
|
||||||
]);
|
] ++ extraB2Args
|
||||||
|
);
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user