gcc-runtime: add separate package for gcc runtime libs

The gcc-runtime package adds a separate node for gcc's dynamic runtime
libraries.

This should help with:

1. binary caches where rpaths for compiler support libs cannot be
   relocated because the compiler is missing on the target system
2. creating "minimal" container images

The package is versioned like `gcc` (in principle it could be
unversioned, but Spack doesn't always guarantee not mixing compilers)
This commit is contained in:
Harmen Stoppels
2023-11-16 10:04:58 +01:00
committed by Todd Gamblin
parent 0a5f2fc94d
commit 8371bb4e19
6 changed files with 250 additions and 1 deletions

View File

@@ -33,6 +33,8 @@ spack:
elfutils:
variants: +bzip2 ~nls +xz
require: "%gcc"
gcc-runtime:
require: "%gcc"
hdf5:
variants: +fortran +hl +shared
libfabric:

View File

@@ -17,6 +17,8 @@ spack:
variants: +mpi
elfutils:
variants: +bzip2 ~nls +xz
gcc-runtime:
require: "%gcc"
hdf5:
require: "%gcc"
variants: +fortran +hl +shared