-
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
Can't use multiple --try-amend
statements in Easystack entry
#4643
Comments
I think this is more a YAML dictionary thing than an easybuild one. Though it seem that setting it as a list does not lead to the expected behavior either
which leads to the following in the modified EC
|
What about trying easyconfigs:
- MATLAB-2023b.eb:
options:
try-amend:
- "license_server=hostname\nlicense_server_port=12345\nkey=abc-123" as a hack? We could probably do something specific for |
That seem to result to it being assigned as a multi-line string
|
There seem to be only two options that we allow to specify multiple times: easybuild-framework/easybuild/tools/options.py Lines 1996 to 2025 in 8ff6ba0
From what @Crivella said, our only option to handle this is to use: easyconfigs:
- MATLAB-2023b.eb:
options:
try-amend:
- "license_server=hostname"
- "license_server_port=12345"
- "key=abc-123" |
Opened a PR with a possible fix: There is a potential breaking change in doing this for existing easystacks that should be evaluated. |
We install MATLAB using something like
But the equivalent Easystack will only use the last value, e.g.,
gives a tweaked EasyConfig that only has
key=abc123
at the bottom.license_server
andlicense_server_port
are ignored.The text was updated successfully, but these errors were encountered: