Skip to content

Commit e8e31e1

Browse files
committed
Add errmsg
1 parent 0e2505b commit e8e31e1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

eb_hooks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,10 +846,11 @@ def is_unsupported_module(self):
846846
if not os.getenv("EESSI_OVERRIDE_ROCM_VERSION_CHECK"):
847847
if self.cfg.name == 'ROCm-LLVM' and self.cfg.version in ('6.4.1',):
848848
if get_eessi_envvar('EESSI_CPU_FAMILY') == 'aarch64':
849-
msg = "ROCm-LLVM/6.4.1 is not supported on aarch64 architectures. "
850849
msg += "Building with '--module-only --force' and injecting an LmodError into the modulefile."
851850
msg += "You can override this behaviour by setting the EESSI_OVERRIDE_ROCM_VERSION_CHECK environment variable."
852851
print_warning(msg)
852+
errmsg = "ROCm-LLVM/6.4.1 is not supported on the aarch64 architecture."
853+
errmsg += "For more details, see: https://github.com/EESSI/software-layer/pull/1473#issuecomment-4370846033"
853854
var=EESSI_IGNORE_AARCH64_ROCMLLVM641_ENVVAR
854855
setattr(self, EESSI_UNSUPPORTED_MODULE_ATTR, UnsupportedModule(envvar=var, errmsg=errmsg))
855856
return True

0 commit comments

Comments
 (0)