Skip to content

Conversation

@dkovba
Copy link
Contributor

@dkovba dkovba commented Oct 24, 2025

Improvements to Protobuf.Makefile. Also see apple/container#821.

.PHONY: protoc-gen-swift
protoc-gen-swift:
swift build --product protoc-gen-swift
@$(SWIFT) build --product protoc-gen-swift
Copy link
Contributor

Choose a reason for hiding this comment

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

SWIFT has to be defined in the environment or the build fails?

I don't see any default definition.

Copy link
Contributor Author

@dkovba dkovba Oct 27, 2025

Choose a reason for hiding this comment

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

Protobuf.Makefile is imported by Makefile, where the variables are defined. Other such variables outside changes in this PR - ROOT_DIR and BUILD_BIN_DIR.

@dkovba dkovba requested a review from jglogan October 27, 2025 18:46
jglogan pushed a commit to apple/container that referenced this pull request Oct 30, 2025
- Sync `Protobuf.Makefile` with other projects.
- Also see apple/containerization#356.
@dkovba dkovba merged commit 0177505 into apple:main Oct 30, 2025
2 checks passed
@dkovba dkovba deleted the protobuf branch October 30, 2025 18:13
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