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):
5757 "-S" , self .source_dir ,
5858 "-B" , self .build_dir ,
5959 "-DCMAKE_BUILD_TYPE=Release" ,
60+ "-DBUILD_TESTING=OFF" ,
6061 f"-DCMAKE_C_COMPILER={ self .toolchain .cc } " ,
6162 f"-DCMAKE_CXX_COMPILER={ self .toolchain .cxx } " ])
6263 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):
9393 -S { self .workspace .source_dir ('ninja' )} \
9494 -B { self .workspace .build_dir ('build' , 'ninja' )} \
9595 -DCMAKE_BUILD_TYPE=Release \
96+ -DBUILD_TESTING=OFF \
9697 -DCMAKE_C_COMPILER=/path/to/cc \
9798 -DCMAKE_CXX_COMPILER=/path/to/cxx
9899+ { self .toolchain .cmake } --build { self .workspace .build_dir ('build' , 'ninja' )}
You can’t perform that action at this time.
0 commit comments