Add packages which you might expect in OS image and thus build with system compiler

This commit is contained in:
Jose Gracia 2024-07-01 09:35:10 -05:00
parent 9347a7a8ef
commit 4a5fef92cc
2 changed files with 28 additions and 5 deletions

View file

@ -6,6 +6,7 @@ packages:
lapack: [cray-libsci] lapack: [cray-libsci]
scalapack: [cray-libsci] scalapack: [cray-libsci]
pkgconf: [pkg-config] pkgconf: [pkg-config]
zlib-ng: [zlib]
cray-mpich: cray-mpich:
externals: externals:
- spec: cray-mpich@8.1.30%gcc - spec: cray-mpich@8.1.30%gcc
@ -33,6 +34,32 @@ packages:
modules: modules:
- cray-libsci/24.03.0 - cray-libsci/24.03.0
buildable: false buildable: false
# Packages which have not been discovered by spack external find
# and packages which are not in the OS image but low-level.
# Declare libs as externals only if a -devel OS package is installed
elfutils:
externals:
- spec: elfutils@0.185
prefix: /usr
buildable: false
numactl:
externals:
- spec: numactl@2.0.14
prefix: /usr
buildable: false
libxml2:
externals:
- spec: libxml2@2.9.14
buildable: false
libdwarf:
require: '%gcc@7.5'
zstd:
require: '%gcc@7.5'
zlib: # zlib@1.2.11 is available but deprecated
require: '%gcc@7.5'
zlib-ng:
require: '%gcc@7.5'
# packages which have been discovered by spack external find --all
python: python:
externals: externals:
- spec: python@3.6.15+bz2+crypt+ctypes+dbm+lzma+nis+pyexpat~pythoncmd+readline+sqlite3+ssl~tkinter+uuid+zlib - spec: python@3.6.15+bz2+crypt+ctypes+dbm+lzma+nis+pyexpat~pythoncmd+readline+sqlite3+ssl~tkinter+uuid+zlib

View file

@ -3,13 +3,9 @@ spack:
# definitions: # definitions:
# core_compiler: [gcc@7.5] # core_compiler: [gcc@7.5]
# compilers: [gcc@13.2, cce@18.0] # compilers: [gcc@13.2, cce@18.0]
packages: # packages:
# all: # all:
# compiler: [gcc@13.2, cce@18.0] # compiler: [gcc@13.2, cce@18.0]
# force OS related libs to use core compiler
libdwarf:
require:
- '%gcc@7.5'
# add package specs to the `specs` list # add package specs to the `specs` list
specs: specs:
- matrix: # modules for low-level tools - matrix: # modules for low-level tools