Skip to content
Snippets Groups Projects
Commit 1a3dadf7 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Adding base packages to get same compiler outside the environment

parent 1c2a813c
No related branches found
No related tags found
No related merge requests found
Pipeline #200490 canceled
......@@ -82,7 +82,11 @@ cp "${SPACK_SYSTEM_CONFIG_PATH}/mirrors.yaml" spack/etc/spack
echo "Setting up packages"
echo "packages:" > ${SPACK_SYSTEM_CONFIG_PATH}/packages.yaml
if [ ! -e ${SPACK_SYSTEM_CONFIG_PATH}/packages.yaml ]
then
echo "packages:" > ${SPACK_SYSTEM_CONFIG_PATH}/packages.yaml
fi
export system_compiler=$(jq -Mrc '
.stack
| .system_arch as $arch
......
packages:
all:
providers:
mpi: [openmpi, intel-oneapi-mpi]
iconv: [libiconv]
jpeg: [libjpeg]
zlib-api: [zlib-ng]
require:
- spec: "^libiconv"
when: "^iconv"
zlib-ng:
require: ['build_system=autotools']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment