Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,18 @@ def recursive_set_deps(item, softwares):
item.deps.append(sftw)

recursive_set_deps(self, softwares=('zlib', 'ncurses'))

# More ignorable tests and patch to avoid treating `__unused` as a non-reserved name
# https://github.com/EESSI/software-layer/pull/1583
if self.version == '21.1.8':
self.cfg.update('test_suite_ignore_patterns', 'Clang :: Driver/aarch64-toolchain-extra.c')
self.cfg.update('test_suite_ignore_patterns', 'Clang :: Driver/arm-toolchain-extra.c')
self.cfg.update('test_suite_ignore_patterns', 'libFuzzer-x86_64-default-Linux :: stack-overflow-with-asan.test')
self.cfg.update('test_suite_ignore_patterns', 'libFuzzer-x86_64-libcxx-Linux :: stack-overflow-with-asan.test')
self.cfg.update('test_suite_ignore_patterns', 'libFuzzer-x86_64-static-libcxx-Linux :: stack-overflow-with-asan.test')

sys_res_names_file = os.path.join(self.start_dir, 'libcxx', 'test', 'libcxx', 'system_reserved_names.gen.py')
apply_regex_substitutions(sys_res_names_file, [(r'^#define __unused SYSTEM_RESERVED_NAME', '')])
else:
raise EasyBuildError("LLVM-specific hook triggered for non-LLVM easyconfig?!")

Expand Down
Loading