We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81b5542 commit 3bfeeddCopy full SHA for 3bfeedd
config-amdgpu.sh.template
@@ -1,5 +1,6 @@
1
# use Debug or Release
2
: ${BUILD_TYPE:=Debug}
3
+: ${BUILD_JOBS:="8"}
4
5
: ${CMAKE_MAKE:=""}
6
config.sh.template
setup.sh
@@ -40,7 +40,12 @@ source config.sh
40
41
CUR=`pwd`
42
43
-MAKE="cmake --build . --config ${BUILD_TYPE}"
+if [ ! -v BUILD_JOBS ]; then
44
+ echo "Please specify BUILD_JOBS in the config.sh file"
45
+ exit -1
46
+fi
47
+
48
+MAKE="cmake --build . --config ${BUILD_TYPE} -j ${BUILD_JOBS}"
49
MAKE_INSTALL="cmake --install . --config ${BUILD_TYPE}"
50
51
function remote {
0 commit comments