Skip to content

Commit

Permalink
[CI] [jvm-packages] Build libxgboost4j.dylib on M1 MacOS with OpenMP …
Browse files Browse the repository at this point in the history
…support (dmlc#10449)
  • Loading branch information
hcho3 committed Jun 19, 2024
1 parent 84f65ab commit 5b59bf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/buildkite/test-macos-m1-clang11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ set -x
mkdir build
pushd build
export JAVA_HOME=$(/usr/libexec/java_home)
cmake .. -GNinja -DJVM_BINDINGS=ON -DUSE_OPENMP=OFF -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
cmake .. -GNinja -DJVM_BINDINGS=ON -DUSE_OPENMP=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
ninja -v
popd
rm -rf build
otool -L lib/libxgboost.dylib
set +x

echo "--- Upload Python wheel"
Expand Down

0 comments on commit 5b59bf0

Please sign in to comment.