Skip to content
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

copy the list to avoid changing the original lists in DEFAULT_TARGETS_MAP for Clang and LLVM #2556

Merged

Conversation

branfosj
Copy link
Member

@branfosj branfosj commented Aug 22, 2021

(created using eb --new-pr)

fixes #2555

@branfosj branfosj added this to the next release (4.4.2?) milestone Aug 22, 2021
AARCH64: ['AArch64'],
POWER: ['PowerPC'],
X86_64: ['X86'],
AARCH32: 'ARM',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We import DEFAULT_TARGETS_MAP in the LLVM easyblock, so changing the values here means trouble there...

You changed the LLVM easyblock accordingly, but there could be other easyblocks out there (outside of the central repo) that import this constant.

easybuild/easyblocks/c/clang.py Show resolved Hide resolved
Copy link
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, test report coming up in easybuilders/easybuild-easyconfigs#13746

@branfosj branfosj changed the title Avoid mutable lists in DEFAULT_TARGETS_MAP for Clang and LLVM copy the list to avoid changing the original lists in DEFAULT_TARGETS_MAP for Clang and LLVM Aug 22, 2021
@boegel boegel merged commit 90e844b into easybuilders:develop Aug 22, 2021
@branfosj branfosj deleted the 20210822093810_new_pr_oFosJVyaMv branch August 22, 2021 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clang builds fail if a non-CUDA version is built in the same session after a CUDA version
2 participants