Skip to content

Commit 45150a8

Browse files
authored
[CI] [jvm-packages] Build libxgboost4j.dylib on M1 MacOS with OpenMP support (dmlc#10449)
1 parent 8689f0b commit 45150a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/buildkite/test-macos-m1-clang11.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ set -x
1818
mkdir build
1919
pushd build
2020
export JAVA_HOME=$(/usr/libexec/java_home)
21-
cmake .. -GNinja -DJVM_BINDINGS=ON -DUSE_OPENMP=OFF -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
21+
cmake .. -GNinja -DJVM_BINDINGS=ON -DUSE_OPENMP=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
2222
ninja -v
2323
popd
2424
rm -rf build
25+
otool -L lib/libxgboost.dylib
2526
set +x
2627

2728
echo "--- Upload Python wheel"

0 commit comments

Comments
 (0)