Skip to content

Commit d726a99

Browse files
committed
Fixed check location for libarcher.so changed in LLVM>=19
1 parent a7abb7b commit d726a99

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

easybuild/easyblocks/l/llvm.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,10 @@ def sanity_check_step(self, custom_paths=None, custom_commands=None, extension=F
11341134

11351135
if self.cfg['build_openmp_tools']:
11361136
check_files += [os.path.join('lib', 'clang', resdir_version, 'include', 'ompt.h')]
1137-
check_librt_files += ['libarcher.so']
1137+
if LooseVersion(self.version) < LooseVersion('19'):
1138+
check_lib_files += ['libomp.so']
1139+
elif LooseVersion(self.version) >= LooseVersion('19'):
1140+
check_librt_files += ['libomp.so']
11381141
if self.cfg['python_bindings']:
11391142
custom_commands += ["python -c 'import clang'"]
11401143
custom_commands += ["python -c 'import mlir'"]

0 commit comments

Comments
 (0)