-
Notifications
You must be signed in to change notification settings - Fork 284
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
make sure AOCC commands like clang/flang pick up GCCcore as GCC toolchain #2538
make sure AOCC commands like clang/flang pick up GCCcore as GCC toolchain #2538
Conversation
Test report by @SebastianAchilles Overview of tested easyconfigs (in order)
Build succeeded for 6 out of 6 (6 easyconfigs in total) |
easybuild/easyblocks/a/aocc.py
Outdated
@@ -116,6 +117,9 @@ def make_module_extra(self): | |||
txt += self.module_generator.set_environment('ASAN_SYMBOLIZER_PATH', asan_symbolizer_path) | |||
# setting the AOCChome path | |||
txt += self.module_generator.set_environment('AOCChome', self.installdir) | |||
# make sure clang/flang picks up GCCcore as GCC toolchain | |||
txt += self.module_generator.set_alias('clang', 'clang --gcc-toolchain=$EBROOTGCCCORE') | |||
txt += self.module_generator.set_alias('flang', 'flang --gcc-toolchain=$EBROOTGCCCORE') |
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.
@SebastianAchilles Maybe we should install an actual wrapper script rather than just defining an alias, since an alias is not inherited into a subshell?
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.
… as GCC toolchain
… as GCC toolchain
Test report by @SebastianAchilles Overview of tested easyconfigs (in order)
Build succeeded for 6 out of 6 (6 easyconfigs in total) |
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.
@SebastianAchilles Some trivial style fixes to make the code a bit like existing easyblocks in SebastianAchilles#1
style fixes for AOCC easyblock
Test report by @SebastianAchilles Overview of tested easyconfigs (in order)
Build succeeded for 6 out of 6 (6 easyconfigs in total) |
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 6 out of 6 (6 easyconfigs in total) |
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
(created using
eb --new-pr
)