Pulkit Sinha
2019-11-29 13:17:59 -05:00
committed by GitHub
parent ecb7f4c048
commit 562db4bbf9

View File

@@ -14,6 +14,7 @@
, taggedLayout ? ((enableRelease && enableDebug) || (enableSingleThreaded && enableMultiThreaded) || (enableShared && enableStatic))
, patches ? []
, mpi ? null
, extraB2Args ? []
# Attributes inherit from specific versions
, version, src
@@ -92,7 +93,8 @@ let
++ optional (mpi != null || stdenv.hostPlatform != stdenv.buildPlatform) "--user-config=user-config.jam"
++ optionals (stdenv.hostPlatform.libc == "msvcrt") [
"threadapi=win32"
]);
] ++ extraB2Args
);
in