Skip to content

Commit 310082b

Browse files
committed
Don't build and install libcxx when generating a macOS toolchain
Libcxx is already part of the macOS SDKs shipped since Xcode 12.5, so there is no need for us to rebuild it. This will also prevent compilation issues in the presets that builds the standard library using a prebuilt toolchain, so the clang compiler that ships in that toolchain does not pickup libcxx headers that do not match the tbd shipped in the underlying macOS SDK. This change would be desirable for all macOS presets, focusing for now on the toolchain presets. Addresses rdar://106817494
1 parent a9491f6 commit 310082b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

utils/build-presets.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,6 @@ swift-driver
12651265
swiftsyntax
12661266
swiftformat
12671267
playgroundsupport
1268-
libcxx
12691268
indexstore-db
12701269
sourcekit-lsp
12711270
swiftdocc
@@ -1308,7 +1307,6 @@ install-swiftpm
13081307
install-swift-driver
13091308
install-swiftsyntax
13101309
install-playgroundsupport
1311-
install-libcxx
13121310
install-sourcekit-lsp
13131311
install-swiftformat
13141312
install-swiftdocc

0 commit comments

Comments
 (0)