Merge pull request #136371 from dims/fix-npb-cross-build-permissions

Fix NPB test image cross-build for arm64
This commit is contained in:
Kubernetes Prow Robot 2026-01-21 18:27:30 +05:30 committed by GitHub
commit a66a59fc6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 4 deletions

View file

@ -20,7 +20,8 @@ CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/
RUN apt-get update && apt-get install -y libc6-dev g++ bzip2 dpkg-dev build-essential gfortran
ADD http://www.nas.nasa.gov/assets/npb/NPB3.4.3.tar.gz .
RUN tar xzf NPB3.4.3.tar.gz
# Fix permissions for cross-build with QEMU emulation
RUN tar xzf NPB3.4.3.tar.gz && chmod -R a+rX NPB3.4.3
WORKDIR ./NPB3.4.3/NPB3.4-OMP
RUN if [ $(arch) != "x86_64" ]; then \

View file

@ -1 +1 @@
1.4
1.5

View file

@ -20,7 +20,8 @@ CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/
RUN apt-get update && apt-get install -y build-essential gfortran
ADD http://www.nas.nasa.gov/assets/npb/NPB3.3.1.tar.gz .
RUN tar xzf NPB3.3.1.tar.gz
# Fix permissions for cross-build with QEMU emulation
RUN tar xzf NPB3.3.1.tar.gz && chmod -R a+rX NPB3.3.1
WORKDIR ./NPB3.3.1/NPB3.3-OMP

View file

@ -1 +1 @@
1.3
1.4