Skip to content

Commit d47b00a

Browse files
Merge pull request #68750 from kateinoigakukun/yt/enable-llvm-wasm-target
Enable WebAssembly target in LLVM backend by default
2 parents b67fc90 + b18c548 commit d47b00a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

utils/build_swift/build_swift/driver_arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ def create_argument_parser():
12591259
help='enable building llvm using modules')
12601260

12611261
option('--llvm-targets-to-build', store,
1262-
default='X86;ARM;AArch64;PowerPC;SystemZ;Mips;RISCV',
1262+
default='X86;ARM;AArch64;PowerPC;SystemZ;Mips;RISCV;WebAssembly',
12631263
help='LLVM target generators to build')
12641264

12651265
option('--llvm-ninja-targets', append,

utils/build_swift/tests/expected_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
'llvm_ninja_targets_for_cross_compile_hosts': [],
218218
'llvm_max_parallel_lto_link_jobs':
219219
defaults.LLVM_MAX_PARALLEL_LTO_LINK_JOBS,
220-
'llvm_targets_to_build': 'X86;ARM;AArch64;PowerPC;SystemZ;Mips;RISCV',
220+
'llvm_targets_to_build': 'X86;ARM;AArch64;PowerPC;SystemZ;Mips;RISCV;WebAssembly',
221221
'tsan_libdispatch_test': False,
222222
'long_test': False,
223223
'lto_type': None,

0 commit comments

Comments
 (0)