Implementation of --try-dependency and --try-builddependency#4097
Implementation of --try-dependency and --try-builddependency#4097mboisson wants to merge 8 commits intoeasybuilders:developfrom
Conversation
|
Hum, I don't understand why there's already a test with |
Maybe via |
|
maybe. I renamed the options to |
|
Does this act recursively with |
no idea, I don't use |
|
@mboisson: Tests failed in GitHub Actions, see https://github.com/easybuilders/easybuild-framework/actions/runs/3283047730 bleep, bloop, I'm just a bot (boegelbot v20200716.01) |
I guess a partial answer to that is: if |
The goal of this PR is to let someone easily modify existing dependencies or add new ones without having to rewrite an EasyConfig. The use-case that triggered this is being able to recompile CUDA software with different versions of CUDA.
It works like this:
Multiple dependencies can be updated by repeating the flag:
If a dependency with a matching name is found (i.e. CUDA 11.3.1) then the dependency is updated with the value specified. If no dependency with a matching name is found, then the dependency is added to the list.