Skip to content

Commit

Permalink
[Static SDK] Don't build FoundationMacros.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
al45tair committed Sep 20, 2024
1 parent e9dc4aa commit f8eaf07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swift-ci/sdks/static-linux/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@ EOF
-D_SwiftFoundation_SourceDIR=${source_dir}/swift-project/swift-foundation \
-D_SwiftFoundationICU_SourceDIR=${source_dir}/swift-project/swift-foundation-icu \
-D_SwiftCollections_SourceDIR=${source_dir}/swift-project/swift-collections \
-DSwiftFoundation_MACRO=/usr/local/swift/lib/swift/host/plugins/libFoundationMacros.so
-DCMAKE_Swift_COMPILER_WORKS=YES \
-Ddispatch_DIR=${build_dir}/$arch/dispatch/cmake/modules

Expand Down

0 comments on commit f8eaf07

Please sign in to comment.