File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
utils/swift_build_support/swift_build_support/products Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1414
1515from . import cmake_product
1616from . import swift
17- from . import swiftsyntax
17+
1818
1919class SwiftTesting (cmake_product .CMakeProduct ):
2020 @classmethod
@@ -31,8 +31,7 @@ def product_source_name(cls):
3131
3232 @classmethod
3333 def get_dependencies (cls ):
34- return [swift .Swift ,
35- swiftsyntax .SwiftSyntax ]
34+ return [swift .Swift ]
3635
3736 def should_build (self , host_target ):
3837 return True
@@ -44,6 +43,8 @@ def build(self, host_target):
4443 # `install_with_cmake` later which already has the same prefix.
4544 self .cmake_options .define ('CMAKE_INSTALL_PREFIX' , '' )
4645
46+ self .cmake_options .define ('CMAKE_BUILD_TYPE' , self .args .build_variant )
47+
4748 build_root = os .path .dirname (self .build_dir )
4849 swift_build_dir = os .path .join (
4950 '..' , build_root , '%s-%s' % ('swift' , host_target ))
You can’t perform that action at this time.
0 commit comments