Skip to content

Commit bb5ebba

Browse files
authored
[Static SDK] Don't build FoundationMacros. (#419)
We don't want to be trying to build FoundationMacros here. Instead, just use the one that comes with the compiler we installed. rdar://136278412
1 parent e9dc4aa commit bb5ebba

File tree

1 file changed

+1
-0
lines changed
  • swift-ci/sdks/static-linux/scripts

1 file changed

+1
-0
lines changed

swift-ci/sdks/static-linux/scripts/build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,7 @@ EOF
739739
-D_SwiftFoundation_SourceDIR=${source_dir}/swift-project/swift-foundation \
740740
-D_SwiftFoundationICU_SourceDIR=${source_dir}/swift-project/swift-foundation-icu \
741741
-D_SwiftCollections_SourceDIR=${source_dir}/swift-project/swift-collections \
742+
-DSwiftFoundation_MACRO=/usr/local/swift/lib/swift/host/plugins/libFoundationMacros.so
742743
-DCMAKE_Swift_COMPILER_WORKS=YES \
743744
-Ddispatch_DIR=${build_dir}/$arch/dispatch/cmake/modules
744745

0 commit comments

Comments
 (0)