-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add module-search-path-headers
configuration option to control how modules set search paths to header files
#4655
Conversation
module-search-path-headers
configuration option to control how modules set search paths to header files
…ch paths to header files
6785de2
to
a63bd4a
Compare
This is poorly designed, working on a better approach... |
Poorly designed in what sense? |
@boegel in the previous iteration I added a bunch of logic related to the option |
…le_load_environment
…' as valid value for --module-search-path-headers
minor tweak for support for `--module-search-path-headers`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Depends on:
make_module_req_guess
method inEasyBlock
class #4653This PR adds a new build option and easyconfig parameter called
module-search-path-headers
to control what environment variables will be added to module files with search paths to headers:New test added to easyblock suite for this new option.
update 1:
easybuild.tools.modules.ModuleLoadEnvironment
is enhanced with the capability to hold private attributes that are invisible for the generation of the module environment.update 2:
easybuild.tools.modules.ModuleLoadEnvironment
is enhanced with the capability to define arbitrary aliases toModuleEnvironmentVariable