|
55 | 55 |
|
56 | 56 | # Make sure a single environment variable name is used for this throughout the hooks |
57 | 57 | EESSI_IGNORE_ZEN4_GCC1220_ENVVAR="EESSI_IGNORE_LMOD_ERROR_ZEN4_GCC1220" |
58 | | -EESSI_IGNORE_AARCH64_ROCMLLVM641_ENVVAR="EESSI_IGNORE_LMOD_ERROR_AARCH64_ROCMLLVM641" |
59 | 58 |
|
60 | 59 | STACK_REPROD_SUBDIR = 'reprod' |
61 | 60 |
|
@@ -841,20 +840,6 @@ def is_unsupported_module(self): |
841 | 840 | setattr(self, EESSI_UNSUPPORTED_MODULE_ATTR, UnsupportedModule(envvar=var,errmsg=errmsg)) |
842 | 841 | return True |
843 | 842 |
|
844 | | - # ROCm-LLVM 6.4.1 is not supported on aarch64 |
845 | | - # see: https://github.com/EESSI/software-layer/pull/1473#issuecomment-4370846033 |
846 | | - if not os.getenv("EESSI_OVERRIDE_ROCM_VERSION_CHECK"): |
847 | | - if self.cfg.name == 'ROCm-LLVM' and self.cfg.version in ('6.4.1',): |
848 | | - if get_eessi_envvar('EESSI_CPU_FAMILY') == 'aarch64': |
849 | | - msg += "Building with '--module-only --force' and injecting an LmodError into the modulefile." |
850 | | - msg += "You can override this behaviour by setting the EESSI_OVERRIDE_ROCM_VERSION_CHECK environment variable." |
851 | | - 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" |
854 | | - var=EESSI_IGNORE_AARCH64_ROCMLLVM641_ENVVAR |
855 | | - setattr(self, EESSI_UNSUPPORTED_MODULE_ATTR, UnsupportedModule(envvar=var, errmsg=errmsg)) |
856 | | - return True |
857 | | - |
858 | 843 | # If all the above logic passed, this module is supported |
859 | 844 | setattr(self, EESSI_SUPPORTED_MODULE_ATTR, True) |
860 | 845 | return False |
|
0 commit comments