Skip to content
Snippets Groups Projects

arm64/qemu build

Merged Sylvester Joosten requested to merge arm64-qemu into master
Compare and
2 files
+ 20
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -23,6 +23,7 @@ RUN --mount=type=cache,target=/var/cache/apt \
## Setup spack
## parts:
ARG ARCH="x86_64"
ENV SPACK_ROOT=/opt/spack
ARG SPACK_ORGREPO="spack/spack"
ARG SPACK_VERSION="develop"
@@ -40,7 +41,7 @@ RUN git clone https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} \
&& ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash \
/usr/sbin/spack-env \
&& export PATH=${PATH}:${SPACK_ROOT}/bin \
&& spack config --scope site add "packages:all:target:[x86_64_v3]" \
&& spack config --scope site add "packages:all:target:[${ARCH}]" \
&& spack config blame packages \
&& spack config --scope site add "config:suppress_gpg_warnings:true" \
&& spack config --scope site add "config:build_jobs:64" \
@@ -92,6 +93,7 @@ RUN git clone https://github.com/${EICSPACK_ORGREPO}.git ${EICSPACK_ROOT} \
## Setup our custom environment
COPY spack.yaml /opt/spack-environment/
RUN rm -r /usr/local \
&& source $SPACK_ROOT/share/spack/setup-env.sh \
&& spack env activate /opt/spack-environment/ \
&& spack concretize
Loading