swift
[6.0] Fix add_swift_target_library for the static SDK
#75791
Merged

[6.0] Fix add_swift_target_library for the static SDK #75791

etcwilde
etcwilde335 days ago (edited 324 days ago)

add_swift_target_library was missing pieces for passing sources and flags to the static SDK build. As a result, the static SDK was missing pieces (specifically Mutex).

Also adding the Musl import to the Linux Mutex implementation.

Explanation: This change hooks up the linux static SDK as a platform so that it builds again after the landing of the Synchronization library. Without it, types like Mutex are missing from the standard library.
Scope: This affects the Linux Static SDK builds.
Risk: Low. This only affects the Linux Static SDK builds, which are currently broken anyway.
Reviewed By: Alastair Houghton

main PR: #75870

etcwilde Fix add_swift_target_library for the static SDK
b5e98974
etcwilde etcwilde requested a review from shahmishal shahmishal 335 days ago
etcwilde etcwilde requested a review from al45tair al45tair 335 days ago
etcwilde etcwilde requested a review 335 days ago
al45tair
al45tair approved these changes on 2024-08-09
etcwilde
etcwilde334 days ago

@swift-ci please test

etcwilde etcwilde changed the title Fix add_swift_target_library for the static SDK [6.0] Fix add_swift_target_library for the static SDK 330 days ago
shahmishal
shahmishal approved these changes on 2024-08-19
shahmishal shahmishal merged 400045b1 into release/6.0 324 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone