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

Parse user-provided copts for Swift #291

Merged
merged 10 commits into from
Apr 13, 2022

Conversation

BalestraPatrick
Copy link
Contributor

This PR fixes an issue where copts for Swift code are not collected correctly and can cause build failures. Still very much a WIP, but feedback welcome!

Copy link
Contributor

@brentleyjones brentleyjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great start!

Longer term we will have to figure out a less brittle way of doing these compiler option parsing. Maybe the swift toolchain refactoring will allow that.

xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
@BalestraPatrick BalestraPatrick force-pushed the pb/parse-user-provided-swift-copts branch from da6e2eb to 9669adc Compare April 13, 2022 16:47
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Show resolved Hide resolved
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Outdated Show resolved Hide resolved
xcodeproj/internal/opts.bzl Show resolved Hide resolved
xcodeproj/internal/opts.bzl Show resolved Hide resolved
@BalestraPatrick BalestraPatrick force-pushed the pb/parse-user-provided-swift-copts branch from 5f23c5e to f44032a Compare April 13, 2022 20:14
@BalestraPatrick BalestraPatrick marked this pull request as ready for review April 13, 2022 20:14
@brentleyjones brentleyjones merged commit 8449a6e into main Apr 13, 2022
@brentleyjones brentleyjones deleted the pb/parse-user-provided-swift-copts branch April 13, 2022 20:38
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