Update build.sh
This commit is contained in:
parent
17ebdde707
commit
2d2cee879d
4
build.sh
4
build.sh
@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# this is a simple scrip to make xgboost in MAC nad Linux
|
||||||
|
# basically, it first try to make with OpenMP, if fails, disable OpenMP and make again
|
||||||
if make; then
|
if make; then
|
||||||
echo "Successfully build multi-thread xgboost"
|
echo "Successfully build multi-thread xgboost"
|
||||||
else
|
else
|
||||||
@ -8,4 +10,4 @@ else
|
|||||||
make clean
|
make clean
|
||||||
make no_omp=1
|
make no_omp=1
|
||||||
echo "Successfully build single-thread xgboost"
|
echo "Successfully build single-thread xgboost"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user