diff options
author | Sergey Kosukhin <sergey.kosukhin@mpimet.mpg.de> | 2022-06-28 01:34:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 16:34:15 -0700 |
commit | 7fc68240fe098ed3be682916cf44ab3b3dfdad12 (patch) | |
tree | ab71157daa587d86aacfcda70036b60f4f1526ee /share | |
parent | 614a014948b5ff5b96ded1a5bd41bd66f6015d4f (diff) | |
download | spack-7fc68240fe098ed3be682916cf44ab3b3dfdad12.tar.gz spack-7fc68240fe098ed3be682916cf44ab3b3dfdad12.tar.bz2 spack-7fc68240fe098ed3be682916cf44ab3b3dfdad12.tar.xz spack-7fc68240fe098ed3be682916cf44ab3b3dfdad12.zip |
oneapi-* packages: improve use with modules (#30981)
This commit adds some changes which improve use of Spack-installed
oneAPI packages with Spack-generated modules, but not within Spack
(e.g. if you install some of these packages with Spack, then load
their associated modules to build other packages outside of Spack).
The majority of the PR diff is refactoring. The functional changes
are:
* intel-oneapi-mkl:
* setup_run_environment: update Intel compiler flags to RPATH the
mkl libs
* intel-oneapi-compilers: update the compiler configuration to RPATH
libraries installed by this package (note that Spack already handled
this when installing dependent packages with Spack, but this is
specifically to use the intel-oneapi-compilers package outside
of Spack). Specifically:
* inject_rpaths: this modifies the binaries installed as part of
the intel-oneapi-compilers package to RPATH libraries provided
by this package
* extend_config_flags: this instructs the compiler executables
provided by this package to RPATH those same libraries
Refactoring includes:
* intel-oneapi-compilers: in addition to the functional changes,
a large portion of this diff is reorganizing the creation of
resources/archives downloaded for the install
* The base oneAPI package renamed component_path, so several packages
changed as a result:
* intel-oneapi-dpl
* intel-oneapi-dnn
* extrae
* intel-oneapi-mpi:
* Perform file filtering in one pass rather than two
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions