Add packages which you might expect in OS image and thus build with system compiler
This commit is contained in:
parent
9347a7a8ef
commit
4a5fef92cc
2 changed files with 28 additions and 5 deletions
|
@ -6,6 +6,7 @@ packages:
|
|||
lapack: [cray-libsci]
|
||||
scalapack: [cray-libsci]
|
||||
pkgconf: [pkg-config]
|
||||
zlib-ng: [zlib]
|
||||
cray-mpich:
|
||||
externals:
|
||||
- spec: cray-mpich@8.1.30%gcc
|
||||
|
@ -33,6 +34,32 @@ packages:
|
|||
modules:
|
||||
- cray-libsci/24.03.0
|
||||
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:
|
||||
externals:
|
||||
- spec: python@3.6.15+bz2+crypt+ctypes+dbm+lzma+nis+pyexpat~pythoncmd+readline+sqlite3+ssl~tkinter+uuid+zlib
|
||||
|
|
|
@ -3,13 +3,9 @@ spack:
|
|||
# definitions:
|
||||
# core_compiler: [gcc@7.5]
|
||||
# compilers: [gcc@13.2, cce@18.0]
|
||||
packages:
|
||||
# packages:
|
||||
# all:
|
||||
# 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
|
||||
specs:
|
||||
- matrix: # modules for low-level tools
|
||||
|
|
Loading…
Reference in a new issue