Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed Sep 7, 2014
1 parent 17ebdde commit 2d2cee8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/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
echo "Successfully build multi-thread xgboost"
else
Expand All @@ -8,4 +10,4 @@ else
make clean
make no_omp=1
echo "Successfully build single-thread xgboost"
fi
fi

0 comments on commit 2d2cee8

Please sign in to comment.