mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
Merge pull request #136371 from dims/fix-npb-cross-build-permissions
Fix NPB test image cross-build for arm64
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.4
|
||||
1.5
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.3
|
||||
1.4
|
||||
|
||||
Reference in New Issue
Block a user