Skip to content

Commit

Permalink
Don't use ninja-build on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Jun 26, 2024
1 parent ea7e793 commit 1f7d0de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/buildkite/build-jvm-linux-arm64-manylinux2014.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ echo "--- Build libxgboost4j.so (targeting glibc 2.17)"
set -x
mkdir build
$command_wrapper bash -c \
"cd build && cmake .. -GNinja -DJVM_BINDINGS=ON -DUSE_OPENMP=ON && ninja -v"
"cd build && cmake .. -DJVM_BINDINGS=ON -DUSE_OPENMP=ON && make -j$(nproc)"
ldd lib/libxgboost4j.so
objdump -T libxgboost4j.so | grep GLIBC_ | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -Vu

Expand Down
2 changes: 1 addition & 1 deletion tests/ci_build/Dockerfile.jvm_manylinux2014_aarch64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM quay.io/pypa/manylinux2014_aarch64

RUN yum update -y && yum install -y java-1.8.0-openjdk-devel ninja-build
RUN yum update -y && yum install -y java-1.8.0-openjdk-devel

# Install lightweight sudo (not bound to TTY)
ENV GOSU_VERSION 1.10
Expand Down

0 comments on commit 1f7d0de

Please sign in to comment.