intel-oneapi-compilers package: add rpath for lib/ directory (#29931)

This commit is contained in:
Wouter Deconinck 2022-04-11 03:22:34 -05:00 committed by GitHub
parent 7475eba798
commit 7dc569ceeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,8 @@ def install(self, spec, prefix):
# set rpath so 'spack compiler add' can check version strings # set rpath so 'spack compiler add' can check version strings
# without setting LD_LIBRARY_PATH # without setting LD_LIBRARY_PATH
rpath = ':'.join(self._ld_library_path()) rpath = ':'.join(self._ld_library_path())
patch_dirs = [join_path('compiler', 'lib', 'intel64_lin'), patch_dirs = [join_path('lib'),
join_path('compiler', 'lib', 'intel64_lin'),
join_path('compiler', 'lib', 'intel64'), join_path('compiler', 'lib', 'intel64'),
'bin'] 'bin']
for pd in patch_dirs: for pd in patch_dirs: