Skip to content

Commit 6d85ef5

Browse files
authored
Merge pull request #81622 from etcwilde/ewilde/wmo-swift-testing
Build Swift-Testing with WMO
2 parents 89f7a82 + 5f2b002 commit 6d85ef5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/swift_build_support/swift_build_support/products/swift_testing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ def build(self, host_target):
112112

113113
self.cmake_options.define('CMAKE_BUILD_TYPE', self.args.build_variant)
114114

115+
self.cmake_options.define('CMAKE_Swift_COMPILATION_MODE', 'wholemodule')
116+
115117
# FIXME: If we build macros for the builder, specify the path.
116118
self.cmake_options.define('SwiftTesting_MACRO', 'NO')
117119

0 commit comments

Comments
 (0)