Skip to content

Commit bf3f982

Browse files
committed
wasmstdlib.py: pass through args.lit_args as LLVM_LIT_ARGS
This fixes default `LLVM_LIT_ARGS` having values inconsistent with rest of the test targets configured by CMake.
1 parent a8fcf63 commit bf3f982

File tree

1 file changed

+1
-0
lines changed
  • utils/swift_build_support/swift_build_support/products

1 file changed

+1
-0
lines changed

utils/swift_build_support/swift_build_support/products/wasmstdlib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ def _build_stdlib(self, host_target, target_triple, llvm_cmake_dir):
184184
self.build_dir, 'test-wasi-wasm32', path) for path in lit_test_paths]
185185
self.cmake_options.define('SWIFT_LIT_TEST_PATHS:STRING',
186186
';'.join(lit_test_paths))
187+
self.cmake_options.define('LLVM_LIT_ARGS', self.args.lit_args)
187188
test_driver_options = [
188189
# compiler-rt is not installed in the final toolchain, so use one
189190
# in build dir

0 commit comments

Comments
 (0)