File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
utils/swift_build_support/swift_build_support/products
validation-test/BuildSystem Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -230,9 +230,18 @@ def build(self, host_target):
230
230
build_targets = ['clean' ]
231
231
232
232
if self .args .skip_build or not self .args .build_llvm :
233
+ # We can't skip the build completely because the standalone
234
+ # build of Swift depends on these.
233
235
build_targets = ['llvm-tblgen' , 'clang-resource-headers' ,
234
236
'intrinsics_gen' , 'clang-tablegen-targets' ]
235
- if not self .args .build_toolchain_only :
237
+
238
+ # If we are not performing a toolchain-only build or generating
239
+ # Xcode projects, then we also want to include the following
240
+ # targets for testing purposes.
241
+ if (
242
+ not self .args .build_toolchain_only
243
+ and self .args .cmake_generator != 'Xcode'
244
+ ):
236
245
build_targets .extend ([
237
246
'FileCheck' ,
238
247
'not' ,
Original file line number Diff line number Diff line change 11
11
#
12
12
# CHECK: --- Building llvm ---
13
13
# CHECK: env {{.+}}/cmake --build {{.+}}/Xcode-ReleaseAssert/llvm-macosx-{{.+}} --config Release --target ZERO_CHECK{{$}}
14
- # CHECK-NEXT: env {{.+}}/cmake --build {{.+}}/Xcode-ReleaseAssert/llvm-macosx-{{.+}} --config Release --target ZERO_CHECK -- {{.*}}-target llvm-tblgen -target clang-resource-headers -target intrinsics_gen -target clang-tablegen-targets -target FileCheck -target not -target llvm-nm -target llvm-size {{$}}
14
+ # CHECK-NEXT: env {{.+}}/cmake --build {{.+}}/Xcode-ReleaseAssert/llvm-macosx-{{.+}} --config Release --target ZERO_CHECK -- {{.*}}-target llvm-tblgen -target clang-resource-headers -target intrinsics_gen -target clang-tablegen-targets{{$}}
You can’t perform that action at this time.
0 commit comments