Skip to content

Commit 50320d2

Browse files
committed
[cmake] Propagate lit_jobs to LLVM_LIT_ARGS
Missed this when I originally added the `--lit-jobs` build-script option, propagate the value provided to `LLVM_LIT_ARGS` in addition to `SWIFT_LIT_ARGS`.
1 parent 0c64fe4 commit 50320d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/swift_build_support/swift_build_support/products/cmake_product.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ def host_cmake_options(self, host_target):
408408
swift_cmake_options.define('SWIFT_HOST_VARIANT_ARCH', swift_host_variant_arch)
409409

410410
llvm_cmake_options.define('LLVM_LIT_ARGS', '{} -j {}'.format(
411-
self.args.lit_args, self.args.build_jobs))
411+
self.args.lit_args, self.args.lit_jobs))
412412
swift_cmake_options.define('LLVM_LIT_ARGS', '{} -j {}'.format(
413-
self.args.lit_args, self.args.build_jobs))
413+
self.args.lit_args, self.args.lit_jobs))
414414

415415
if self.args.clang_profile_instr_use:
416416
llvm_cmake_options.define('LLVM_PROFDATA_FILE',

0 commit comments

Comments
 (0)