Ignore set but empty CORES variable
Change the behavior when the CORES environment variable is set and empty. Now `-j` will not be added to make/ninja.
This commit is contained in:
1 parent
2bfe3e7c48
commit
97cd12a63a
5 files changed
+5
-5
No files matched your search
+1
-1
@@ -95,7 +95,7 @@ for arch in $ARCHS; do
|
||||
-DCMAKE_CXX_FLAGS_INIT="$CFGUARD_CFLAGS" \
|
||||
$CMAKEFLAGS \
|
||||
..
|
||||
$BUILDCMD ${CORES+-j$CORES}
|
||||
$BUILDCMD ${CORES:+-j${CORES}}
|
||||
$BUILDCMD install
|
||||
rm -f $PREFIX/$arch-w64-mingw32/bin/*iomp5md*
|
||||
rm -f $PREFIX/$arch-w64-mingw32/lib/*iomp5md*
|
||||
|
||||
Reference in new issue
Block a user