File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
utils/swift_build_support
swift_build_support/products Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ def build(self):
57
57
"-S" , self .source_dir ,
58
58
"-B" , self .build_dir ,
59
59
"-DCMAKE_BUILD_TYPE=Release" ,
60
+ "-DBUILD_TESTING=OFF" ,
60
61
f"-DCMAKE_C_COMPILER={ self .toolchain .cc } " ,
61
62
f"-DCMAKE_CXX_COMPILER={ self .toolchain .cxx } " ])
62
63
shell .call ([self .toolchain .cmake , "--build" , self .build_dir ])
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ def test_build(self):
93
93
-S { self .workspace .source_dir ('ninja' )} \
94
94
-B { self .workspace .build_dir ('build' , 'ninja' )} \
95
95
-DCMAKE_BUILD_TYPE=Release \
96
+ -DBUILD_TESTING=OFF \
96
97
-DCMAKE_C_COMPILER=/path/to/cc \
97
98
-DCMAKE_CXX_COMPILER=/path/to/cxx
98
99
+ { self .toolchain .cmake } --build { self .workspace .build_dir ('build' , 'ninja' )}
You can’t perform that action at this time.
0 commit comments