File tree 3 files changed +14
-3
lines changed
3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ RUN yum -y update && \
9
9
gcc \
10
10
gcc-c++ \
11
11
make \
12
- patchelf && \
13
12
yum clean all
14
13
15
14
COPY .github/builder/rsrc/rustup-init /install/rustup-init
16
15
COPY .github/builder/rsrc/make-4.4.1.tar.gz /install/make-4.4.1.tar.gz
17
16
COPY .github/builder/rsrc/cmake-3.28.0-rc5-linux-x86_64.tar.gz /install/cmake-3.28.0-rc5-linux-x86_64.tar.gz
18
17
COPY .github/builder/rsrc/llvm-5.0.2.src.tar.xz /install/llvm-5.0.2.src.tar.xz
19
18
COPY .github/builder/rsrc/cfe-5.0.2.src.tar.xz /install/cfe-5.0.2.src.tar.xz
19
+ COPY .github/builder/rsrc/patchelf-0.18.0-x86_64.tar.gz /install/patchelf-0.18.0-x86_64.tar.gz
20
20
21
21
RUN chmod +x /install/rustup-init && \
22
22
/install/rustup-init -y --default-toolchain nightly && \
@@ -40,11 +40,11 @@ RUN chmod +x /install/rustup-init && \
40
40
make clean && \
41
41
rm -rf /llvm/build/ && \
42
42
popd && \
43
- rm -rf /make /llvm
43
+ rm -rf /make /llvm && \
44
+ tar -C /usr/local/ --strip-components=1 -xf /install/patchelf-0.18.0-x86_64.tar.gz
44
45
45
46
WORKDIR /
46
47
47
-
48
48
ARG PUBLIC_SIMICS_PACKAGE_VERSION_1000
49
49
ENV PATH="${PATH}:/simics/ispm/"
50
50
ENV PATH="${PATH}:/root/.cargo/bin/"
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ LLVM_SRC_URL="https://releases.llvm.org/5.0.2/llvm-5.0.2.src.tar.xz"
7
7
MAKE_SRC_URL=" https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz"
8
8
RUSTUP_INIT_URL=" https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init"
9
9
CMAKE_URL=" https://github.com/Kitware/CMake/releases/download/v3.28.0-rc5/cmake-3.28.0-rc5-linux-x86_64.tar.gz"
10
+ PATCHELF_URL=" https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0-x86_64.tar.gz"
10
11
PUBLIC_SIMICS_PKGS_URL=" https://registrationcenter-download.intel.com/akdlm/IRC_NAS/ead79ef5-28b5-48c7-8d1f-3cde7760798f/simics-6-packages-2024-05-linux64.ispm"
11
12
PUBLIC_SIMICS_ISPM_URL=" https://registrationcenter-download.intel.com/akdlm/IRC_NAS/ead79ef5-28b5-48c7-8d1f-3cde7760798f/intel-simics-package-manager-1.8.3-linux64.tar.gz"
12
13
PUBLIC_SIMICS_PACKAGE_VERSION_1000=" 6.0.185"
@@ -56,6 +57,11 @@ if [ ! -f "${BUILDER_DIR}/rsrc/cmake-3.28.0-rc5-linux-x86_64.tar.gz" ]; then
56
57
" ${CMAKE_URL} "
57
58
fi
58
59
60
+ if [ ! -f " ${BUILDER_DIR} /rsrc/patchelf-0.18.0-x86_64.tar.gz" ]; then
61
+ curl --noproxy ' *.intel.com' -L -o " ${BUILDER_DIR} /rsrc/patchelf-0.18.0-x86_64.tar.gz" \
62
+ " ${CMAKE_URL} "
63
+ fi
64
+
59
65
unset SIMICS_BASE
60
66
docker build \
61
67
--build-arg \
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ LLVM_SRC_URL="https://releases.llvm.org/5.0.2/llvm-5.0.2.src.tar.xz"
8
8
MAKE_SRC_URL=" https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz"
9
9
RUSTUP_INIT_URL=" https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init"
10
10
CMAKE_URL=" https://github.com/Kitware/CMake/releases/download/v3.28.0-rc5/cmake-3.28.0-rc5-linux-x86_64.tar.gz"
11
+ PATCHELF_URL=" https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0-x86_64.tar.gz"
11
12
PUBLIC_SIMICS_PKGS_URL=" https://registrationcenter-download.intel.com/akdlm/IRC_NAS/ead79ef5-28b5-48c7-8d1f-3cde7760798f/simics-6-packages-2024-05-linux64.ispm"
12
13
PUBLIC_SIMICS_ISPM_URL=" https://registrationcenter-download.intel.com/akdlm/IRC_NAS/ead79ef5-28b5-48c7-8d1f-3cde7760798f/intel-simics-package-manager-1.8.3-linux64.tar.gz"
13
14
PUBLIC_SIMICS_PACKAGE_VERSION_1000=" 6.0.185"
@@ -56,6 +57,10 @@ if [ ! -f "${BUILDER_DIR}/rsrc/cmake-3.28.0-rc5-linux-x86_64.tar.gz" ]; then
56
57
" ${CMAKE_URL} "
57
58
fi
58
59
60
+ if [ ! -f " ${BUILDER_DIR} /rsrc/patchelf-0.18.0-x86_64.tar.gz" ]; then
61
+ curl --noproxy ' *.intel.com' -L -o " ${BUILDER_DIR} /rsrc/patchelf-0.18.0-x86_64.tar.gz" \
62
+ " ${CMAKE_URL} "
63
+ fi
59
64
60
65
unset SIMICS_BASE
61
66
docker build \
You can’t perform that action at this time.
0 commit comments