File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ ENV PATH="${PATH}:/spack/bin"
1313
1414COPY spack.yaml /root/spack-env/spack.yaml
1515
16+ RUN spack compiler find
17+
18+ RUN sed -i '/^spec: gcc/s/$/ ~strip/' /root/.spack/packages.yaml
19+
1620RUN spack -e /root/spack-env concretize
1721RUN spack -e /root/spack-env fetch -D
1822RUN spack -e /root/spack-env install --fail-fast
@@ -31,10 +35,10 @@ ENV PATH="/bootstrap-view/bin:/spack/bin:${PATH}"
3135
3236COPY spack.yaml /root/spack-env/spack.yaml
3337
34- RUN sed -i 's/+binutils/+binutils +strip/g' /root/spack-env/spack.yaml
35-
3638RUN spack compiler find /bootstrap-view/bin
3739
40+ RUN sed -i '/^spec: gcc/s/$/ ~strip/' /root/.spack/packages.yaml
41+
3842RUN spack -e /root/spack-env concretize -Uf
3943RUN spack -e /root/spack-env install --fail-fast
4044RUN spack clean -a
Original file line number Diff line number Diff line change 55spack :
66 specs :
77 - coreutils
8- - gcc@14 +binutils build_type=MinSizeRel
8+ - gcc@14 +binutils +strip build_type=MinSizeRel
99 - git
1010 - gmake
1111 - patch
You can’t perform that action at this time.
0 commit comments