Skip to content

Commit 641e753

Browse files
[wasm][build] Skip wasi-libc symbol check step to support LLVM 17
1 parent c143d1e commit 641e753

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

utils/swift_build_support/swift_build_support/products/wasisysroot.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ def build(self, host_target):
5151
shell.call([
5252
'make', 'install',
5353
'-j', str(build_jobs),
54+
# FIXME: wasi-libc's pre-defined macro list does not expect
55+
# `__FPCLASS_XXX`, which is introduced by the LLVM 17, yet.
56+
# So skip the symbol check step by treating the phony target
57+
# as very old file.
58+
# https://github.com/llvm/llvm-project/commit/7dd387d2971d7759cadfffeb2082439f6c7ddd49
59+
'--old-file=check-symbols',
5460
'-C', self.source_dir,
5561
'OBJDIR=' + os.path.join(self.build_dir, 'obj'),
5662
'SYSROOT=' + WASILibc.sysroot_build_path(build_root, host_target),

0 commit comments

Comments
 (0)