From c395c5bed3109f834a63384901321e04148450a2 Mon Sep 17 00:00:00 2001 From: tqchen Date: Mon, 29 Dec 2014 17:41:47 -0800 Subject: [PATCH] update build script --- build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.sh b/build.sh index 35a566ccc..f6fbcb74b 100755 --- a/build.sh +++ b/build.sh @@ -3,6 +3,13 @@ # basically, it first try to make with OpenMP, if fails, disable OpenMP and make again # This will automatically make xgboost for MAC users who do not have openmp support # In most cases, type make will give what you want + +# download rabit +if [ ! -d rabit ]; then + git clone https://github.com/tqchen/rabit.git +else + cd rabit; git pull; cd .. +fi if make; then echo "Successfully build multi-thread xgboost" else