Last active
December 19, 2017 07:44
-
-
Save myui/38c33f9d18d12d00a6bd33c0466ae417 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install gcc cmake maven | |
git clone --depth 1 --single-branch -b master --recursive https://github.com/dmlc/xgboost | |
cd xgboost | |
cp make/config.mk ./config.mk | |
export CC=gcc-7 | |
export CXX=g++-7 | |
make -j4 | |
cd jvm-package | |
./create_jni.sh | |
export JAVA_HOME=`/usr/libexec/java_home -v 1.7` | |
mvn --projects xgboost4j -DskipTests=true package |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment