File tree 1 file changed +4
-3
lines changed
utils/swift_build_support/swift_build_support/products
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 14
14
15
15
from . import cmake_product
16
16
from . import swift
17
- from . import swiftsyntax
17
+
18
18
19
19
class SwiftTesting (cmake_product .CMakeProduct ):
20
20
@classmethod
@@ -31,8 +31,7 @@ def product_source_name(cls):
31
31
32
32
@classmethod
33
33
def get_dependencies (cls ):
34
- return [swift .Swift ,
35
- swiftsyntax .SwiftSyntax ]
34
+ return [swift .Swift ]
36
35
37
36
def should_build (self , host_target ):
38
37
return True
@@ -44,6 +43,8 @@ def build(self, host_target):
44
43
# `install_with_cmake` later which already has the same prefix.
45
44
self .cmake_options .define ('CMAKE_INSTALL_PREFIX' , '' )
46
45
46
+ self .cmake_options .define ('CMAKE_BUILD_TYPE' , self .args .build_variant )
47
+
47
48
build_root = os .path .dirname (self .build_dir )
48
49
swift_build_dir = os .path .join (
49
50
'..' , build_root , '%s-%s' % ('swift' , host_target ))
You can’t perform that action at this time.
0 commit comments