We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04dc2b3 commit 9926576Copy full SHA for 9926576
easybuild/easyblocks/generic/intelbase.py
@@ -137,7 +137,9 @@ def prepare_intel_tools_env(self):
137
138
# make sure $CPATH, $LD_LIBRARY_PATH and $LIBRARY_PATH are not updated in generated module file,
139
# because that leads to problem when the libraries included with VTune/Advisor/Inspector are being picked up
140
- for disallowed_var in ['CPATH', 'LD_LIBRARY_PATH', 'LIBRARY_PATH']:
+ mod_env_headers = self.module_load_environment.alias_vars('HEADERS')
141
+ mod_env_libs = ['LD_LIBRARY_PATH', 'LIBRARY_PATH']
142
+ for disallowed_var in mod_env_headers + mod_env_libs:
143
try:
144
delattr(self.module_load_environment, disallowed_var)
145
except AttributeError:
0 commit comments