Skip to content

Commit e88a534

Browse files
authored
Merge pull request #3977 from Thyre/20251026205754_new_pr_llvm
fix crash in LLVM easyblock when doing module-only or sanity-check-only rebuild
2 parents 2a7aad7 + f142400 commit e88a534

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

easybuild/easyblocks/l/llvm.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,11 @@ def __init__(self, *args, **kwargs):
395395
self.log.info("Final projects to build: %s", ', '.join(self.final_projects))
396396
self.log.info("Final runtimes to build: %s", ', '.join(self.final_runtimes))
397397

398+
# Set nvptx_target_cond and amdgpu_target_cond to False by default, since
399+
# not setting any value breaks module-only and sanity-check-only
400+
self.nvptx_target_cond = False
401+
self.amdgpu_target_cond = False
402+
398403
# CMake options passed to each build stage.
399404
# Will be cleared between stages. If arguments are needed in multiple stages,
400405
# consider adding them to general_opts instead.

0 commit comments

Comments
 (0)