-
Notifications
You must be signed in to change notification settings - Fork 2
Make sure the full directory name is replaced in eb_hooks.py
, replace placeholders before comparing what is shipped
#14
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
base: main
Are you sure you want to change the base?
Conversation
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
New job on instance
|
This is not correct, this is touching unnecessary files. |
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
New job on instance
|
eb_hooks.py
eb_hooks.py
, replace placeholders before comparing what is shipped
The test step was failing in #14 (comment) due to
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
New job on instance
|
The installation script is working as intended, just need to make a fake change to the hooks to get it into a tarball. |
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
New job on instance
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
New job on instance
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
New job on instance
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
New job on instance
|
Ok, this is ready to go: [ocaisa@login1 ~]$ tar -zxvf /project/def-users/SHARED/jobs/finished/70024/eessi-2023.06-software-linux-x86_64-amd-zen2-17500768900.tar.gz
2023.06/init/easybuild/eb_hooks.py
[ocaisa@login1 ~]$ grep errmsg 2023.06/init/easybuild/eb_hooks.py
errmsg = "EasyConfigs using toolchains based on GCCcore-12.2.0 are not supported for the Zen4 architecture.\\n"
errmsg += "See https://www.eessi.io/docs/known_issues/eessi-2023.06/#gcc-1220-and-foss-2022b-based-modules-cannot-be-loaded-on-zen4-architecture"
ec['modluafooter'] = 'if (not os.getenv("%s")) then LmodError("%s") end' % (env_varname, errmsg) |
This was basically a typo in #11
That PR also creates problems though through the use of
sed -i
as this always updates the timestamps on the files, causing any file where it was used to also be shipped. Resolved this by creating a bash function that is more careful.Finally, that PR also "broke" the test script as that script was not correctly picking up the EESSI version, this is also fixed here.