Skip to content

[PackageModel] UserToolchain: Add Testing framework from commandline … #7857

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Aug 5, 2024

…tools to RPATH

Motivation:

The framework is not autolinked and requires -Xlinker -rpath flag together with -F while building.

Modifications:

  • Added -Xlinker -rpath -Xlinker <frameworks> argument for Testing.framework location in deriveMacOSSpecificSwiftTestingFlags.

Result:

Fixes missing symbols while trying to run swift-testing tests without Xcode selected.

…tools to `RPATH`

The framework is not autolinked and requires `-Xlinker -rpath` flag
together with `-F` while building.
@xedin
Copy link
Contributor Author

xedin commented Aug 5, 2024

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Aug 6, 2024

@swift-ci please test

@xedin xedin merged commit 82be7b5 into swiftlang:main Aug 6, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants