Skip to content
Snippets Groups Projects

feat: target=x86_64_v2 minimum for (some) vectorization

Merged Wouter Deconinck requested to merge arch-x86_64_v3 into master
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
@@ -44,12 +44,12 @@ RUN git clone https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} \
@@ -44,12 +44,12 @@ RUN git clone https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} \
SHELL ["docker-shell"]
SHELL ["docker-shell"]
ARG jobs=64
ARG jobs=64
RUN declare -A arch=( \
RUN declare -A target=( \
["linux/amd64"]="x86_64_v3" \
["linux/amd64"]="x86_64" \
["linux/arm64"]="aarch64" \
["linux/arm64"]="aarch64" \
) \
) \
&& arch=${arch[${TARGETPLATFORM}]} \
&& target=${target[${TARGETPLATFORM}]} \
&& spack config --scope site add "packages:all:require:[arch=${arch}]" \
&& spack config --scope site add "packages:all:require:[target=${target}]" \
&& spack config blame packages \
&& spack config blame packages \
&& spack config --scope site add "config:suppress_gpg_warnings:true" \
&& spack config --scope site add "config:suppress_gpg_warnings:true" \
&& spack config --scope site add "config:build_jobs:${jobs}" \
&& spack config --scope site add "config:build_jobs:${jobs}" \
Loading