Skip to content

Commit be38df8

Browse files
authored
[build] Adjust install name for Differentiation and Concurrency (#34216)
This effectively reverts #31183 -- we need to match the install name convention of the other stdlib libraries. From the review feedback: > The right way to load the stdlib & runtime libraries from a custom toolchain is to set `DYLD_LIBRARY_PATH` when executing the generated binary. This is how we run tests against the just-built libraries and this is how downloadable toolchain snapshots are currently configured in Xcode -- see #33178
1 parent 0f6611c commit be38df8

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

stdlib/public/Concurrency/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ add_swift_target_library(swift_Concurrency ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} I
2929
${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
3030
-parse-stdlib
3131
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}"
32-
DARWIN_INSTALL_NAME_DIR "@rpath"
3332
INSTALL_IN_COMPONENT stdlib)

stdlib/public/Differentiation/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,4 @@ add_swift_target_library(swift_Differentiation ${SWIFT_STDLIB_LIBRARY_BUILD_TYPE
3838
${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
3939
-parse-stdlib
4040
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}"
41-
DARWIN_INSTALL_NAME_DIR "@rpath"
4241
INSTALL_IN_COMPONENT stdlib)

0 commit comments

Comments
 (0)