diff --git a/easybuild/easyblocks/c/clang.py b/easybuild/easyblocks/c/clang.py index 0479ebd1c9..062a48dff2 100644 --- a/easybuild/easyblocks/c/clang.py +++ b/easybuild/easyblocks/c/clang.py @@ -554,7 +554,7 @@ def sanity_check_step(self): cuda_cc = cfg_cuda_cc or ec_cuda_cc or [] # We need the CUDA capability in the form of '75' and not '7.5' cuda_cc = [cc.replace('.', '') for cc in cuda_cc] - if LooseVersion('11.0') < LooseVersion(self.version) < LooseVersion('13.0'): + if LooseVersion('12.0') < LooseVersion(self.version) < LooseVersion('13.0'): custom_paths['files'].extend(["lib/libomptarget-nvptx-cuda_%s-sm_%s.bc" % (x, y) for x in CUDA_TOOLKIT_SUPPORT for y in cuda_cc]) else: