-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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 statically compiled protoc to release artifacts #12063
Labels
Comments
copybara-service bot
pushed a commit
that referenced
this issue
Feb 27, 2023
Closes #12063 PiperOrigin-RevId: 512742784
copybara-service bot
pushed a commit
that referenced
this issue
Feb 27, 2023
Closes #12063 PiperOrigin-RevId: 512742784
copybara-service bot
pushed a commit
that referenced
this issue
Feb 27, 2023
Closes #12063 PiperOrigin-RevId: 512742784
copybara-service bot
pushed a commit
that referenced
this issue
Feb 28, 2023
Closes #12063 PiperOrigin-RevId: 512742784
copybara-service bot
pushed a commit
that referenced
this issue
Feb 28, 2023
Closes #12063 PiperOrigin-RevId: 512742784
copybara-service bot
pushed a commit
that referenced
this issue
Feb 28, 2023
Closes #12063 PiperOrigin-RevId: 512742784
copybara-service bot
pushed a commit
that referenced
this issue
Feb 28, 2023
Closes #12063 PiperOrigin-RevId: 512742784
copybara-service bot
pushed a commit
that referenced
this issue
Feb 28, 2023
Closes #12063 PiperOrigin-RevId: 512742784
copybara-service bot
pushed a commit
that referenced
this issue
Feb 28, 2023
Closes #12063 PiperOrigin-RevId: 512742784
copybara-service bot
pushed a commit
that referenced
this issue
Feb 28, 2023
Closes #12063 PiperOrigin-RevId: 512742784
copybara-service bot
pushed a commit
that referenced
this issue
Feb 28, 2023
Closes #12063 PiperOrigin-RevId: 512742784
copybara-service bot
pushed a commit
that referenced
this issue
Feb 28, 2023
Closes #12063 PiperOrigin-RevId: 512742784
deannagarcia
pushed a commit
to deannagarcia/protobuf
that referenced
this issue
Feb 28, 2023
Closes protocolbuffers#12063 PiperOrigin-RevId: 513034570
googleberg
removed
the
untriaged
auto added to all issues by default when created.
label
Feb 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What language does this apply to?
n/a
Describe the problem you are trying to solve.
protoc
is a common build tool in different environments, including bazel projects viarules_proto
.Protoc depends on gnu standard libraries at runtime:
Some environments do not provide a glibc and libstc++ globally. Those include alpine linux and NixOS.
Using
rules_proto
/ protoc in those environments is very hard and requires custom patches.Describe the solution you'd like
Release artifacts of this repository should either be compiled statically by default or an extra, static version of the release artifacts should be added.
I tried this quickly by patching the bazel workspace of this repository to use musl and link protoc statically and it works.
Describe alternatives you've considered
Alternatively, users of protoc have to provide their own protoc binary which leads to outdated versions of protoc being vendored.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: