diff --git a/easybuild/easyblocks/a/aocc.py b/easybuild/easyblocks/a/aocc.py index aff71ee1b0..5cc87a27e7 100644 --- a/easybuild/easyblocks/a/aocc.py +++ b/easybuild/easyblocks/a/aocc.py @@ -67,6 +67,9 @@ def __init__(self, *args, **kwargs): self.clangversion = self.cfg['clangversion'] + # Bypass the .mod file check for GCCcore installs + self.cfg['skip_mod_files_sanity_check'] = True + def _aocc_guess_clang_version(self): map_aocc_to_clang_ver = { '2.3.0': '11.0.0', diff --git a/easybuild/easyblocks/a/aomp.py b/easybuild/easyblocks/a/aomp.py index 7ff4126d6d..f0aaae4138 100644 --- a/easybuild/easyblocks/a/aomp.py +++ b/easybuild/easyblocks/a/aomp.py @@ -68,6 +68,8 @@ def __init__(self, *args, **kwargs): super(EB_AOMP, self).__init__(*args, **kwargs) self.cfg['extract_sources'] = True self.cfg['dontcreateinstalldir'] = True + # Bypass the .mod file check for GCCcore installs + self.cfg['skip_mod_files_sanity_check'] = True def configure_step(self): """Configure AOMP build and let 'Binary' install""" diff --git a/easybuild/easyblocks/c/clang.py b/easybuild/easyblocks/c/clang.py index 3423e1c96b..4411b34e4c 100644 --- a/easybuild/easyblocks/c/clang.py +++ b/easybuild/easyblocks/c/clang.py @@ -126,6 +126,9 @@ def __init__(self, *args, **kwargs): self.make_parallel_opts = "" self.runtime_lib_path = "lib" + # Bypass the .mod file check for GCCcore installs + self.cfg['skip_mod_files_sanity_check'] = True + if not self.cfg['llvm_projects']: self.cfg['llvm_projects'] = [] if not self.cfg['llvm_runtimes']: diff --git a/easybuild/easyblocks/c/cplex.py b/easybuild/easyblocks/c/cplex.py index 9c4a894a4e..94c0bf2c20 100644 --- a/easybuild/easyblocks/c/cplex.py +++ b/easybuild/easyblocks/c/cplex.py @@ -60,6 +60,9 @@ def __init__(self, *args, **kwargs): self.with_python = False self.multi_python = 'Python' in self.cfg['multi_deps'] + # Bypass the .mod file check for GCCcore installs + self.cfg['skip_mod_files_sanity_check'] = True + def prepare_step(self, *args, **kwargs): """Prepare build environment.""" super(EB_CPLEX, self).prepare_step(*args, **kwargs)