forked from dmlc/xgboost
-
Notifications
You must be signed in to change notification settings - Fork 1
/
z_testing_w4.sh
executable file
·29 lines (23 loc) · 984 Bytes
/
z_testing_w4.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
set -x
echo "----------------------------------------------------------------------------------------------"
#conda create -n xgboost_w4 python=3
env=/opt/anaconda3/envs/xgboost_w4/bin
export PATH=/opt/anaconda3/envs/xgboost_w4/bin:$PATH
export PATH=/opt/rh/devtoolset-8/root/usr/bin:$PATH
date
sudo chown -R lpatel ~/projects/repos/xgboost/
#sudo rm -rf /home/lpatel/projects/repos/xgboost/build # clear cache
cd /home/lpatel/projects/repos/xgboost/build
cmake3 ..
# cmake ..
make -j 16
#exit 0
cd /home/lpatel/projects/repos/xgboost/python-package
# sudo /usr/bin/pip3 uninstall -y xgboost || true
# sudo /usr/bin/python3 setup.py install #--no-cache-dir
sudo $env/pip uninstall -y xgboost || true
$env/python3 setup.py install #--no-cache-dir
#$env/pip freeze > requiremnets.txt
$env/pip install -r requiremnets.txt
#/usr/bin/python3 /home/lpatel/projects/repos/xgboost/z_xgboost_example.py
$env/python3 /home/lpatel/projects/repos/xgboost/z_xgboost_aki_tesing_w4.py