Skip to content

Commit 5807cdd

Browse files
authored
Merge pull request #66699 from swift-riscv/add-RISCV-as-llvm-target-to-build
Add RISCV as llvm target to build
2 parents 5be9bac + edda874 commit 5807cdd

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
@@ -1261,7 +1261,7 @@ def create_argument_parser():
12611261
help='enable building llvm using modules')
12621262

12631263
option('--llvm-targets-to-build', store,
1264-
default='X86;ARM;AArch64;PowerPC;SystemZ;Mips',
1264+
default='X86;ARM;AArch64;PowerPC;SystemZ;Mips;RISCV',
12651265
help='LLVM target generators to build')
12661266

12671267
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
@@ -218,7 +218,7 @@
218218
'llvm_ninja_targets_for_cross_compile_hosts': [],
219219
'llvm_max_parallel_lto_link_jobs':
220220
defaults.LLVM_MAX_PARALLEL_LTO_LINK_JOBS,
221-
'llvm_targets_to_build': 'X86;ARM;AArch64;PowerPC;SystemZ;Mips',
221+
'llvm_targets_to_build': 'X86;ARM;AArch64;PowerPC;SystemZ;Mips;RISCV',
222222
'tsan_libdispatch_test': False,
223223
'long_test': False,
224224
'lto_type': None,

0 commit comments

Comments
 (0)