Skip to content

Commit 4a63f4a

Browse files
beckermrtqchen
authored andcommitted
BUG make sure to specify no openmp for some mac osx builds properly (dmlc#2095)
1 parent 15456c7 commit 4a63f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-package/xgboost/build-python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ else
2222
echo "Building multi-thread xgboost failed"
2323
echo "Start to build single-thread xgboost"
2424
make clean
25-
make lib/libxgboost.so -j4 no_omp=1
25+
make lib/libxgboost.so -j4 USE_OPENMP=0
2626
echo "Successfully build single-thread xgboost"
2727
echo "If you want multi-threaded version"
2828
echo "See additional instructions in doc/build.md"

0 commit comments

Comments
 (0)