xgboost/build.sh
2014-09-06 22:20:11 -07:00

11 lines
306 B
Bash
Executable File

#!/bin/bash
if make; then
echo "Successfully build multi-thread xgboost"
else
echo "-----------------------------"
echo "Building multi-thread xgboost failed"
echo "Start to build single-thread xgboost"
make clean
make no_omp=1
echo "Successfully build single-thread xgboost"
fi