Skip to content
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

Add ld-path-driver-option to features.json #69586

Merged
merged 1 commit into from Nov 2, 2023

Conversation

MaxDesiatov
Copy link
Member

@MaxDesiatov MaxDesiatov commented Nov 1, 2023

Dependency of apple/swift-package-manager#7021.

The -ld-path option was introduced on main in apple/swift-driver#1442 and release/5.10 in apple/swift-driver#1442. SwiftPM needs to detect this flag to pass options to the driver correctly, and it's suitable to do this via feature.json instead of checking for the compiler version via other means.

Partially resolves rdar://117049947.

The `-ld-path` option was introduced on `main` in apple/swift-driver#1442 and 5.10 in apple/swift-driver#1442. SwiftPM needs to detect this flag to pass options to the driver correctly, and it's suitable to do this via `feature.json` instead of checking for the compiler version via other means.
@MaxDesiatov MaxDesiatov added the driver options Area → compiler → legacy driver: driver options label Nov 1, 2023
@MaxDesiatov
Copy link
Member Author

@swift-ci test

@MaxDesiatov MaxDesiatov merged commit b7d8a9b into main Nov 2, 2023
5 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/add-ld-path-feature branch November 2, 2023 18:08
MaxDesiatov added a commit that referenced this pull request Nov 4, 2023
Dependency of apple/swift-package-manager#7021.

Cherry-pick of #69586.

The `-ld-path` option was introduced on `main` in apple/swift-driver#1442 and 5.10 in apple/swift-driver#1442. SwiftPM needs to detect this flag to pass options to the driver correctly, and it's suitable to do this via `feature.json` instead of checking for the compiler version via other means.

Partially resolves rdar://117049947.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
driver options Area → compiler → legacy driver: driver options
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants