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

Using hermetic linux C++ toolchain. #56

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

hauserx
Copy link
Contributor

@hauserx hauserx commented Nov 24, 2024

This allows to reproducible builds as it uses specific version of C++ compiler and glibc instead of using system ones.

Under linux using the oldest supported version of glibc by Rust (2.17), this should allow user on some older platforms to use this repo right away, see e.g. #38, with this change the bazel-lsp binary starts in docker image centos:7

Not supporting Windows yet, it does not compile google abseil under Widows (there is prost -> protoc -> abseil dep). Bug on zig side: ziglang/zig#10989

BEGIN_COMMIT_OVERRIDE
fix: Use hermetic linux C++ toolchain
END_COMMIT_OVERRIDE

@hauserx hauserx marked this pull request as ready for review November 24, 2024 10:13
This allows to reproducible builds as it uses specific version of C++
compiler and glibc instead of using system ones.

Under linux using the oldest supported version of glibc by Rust (2.17),
this should allow user on some older platforms to use this repo right
away, see e.g. cameron-martin#38,
with this change the bazel-lsp binary starts in docker image centos:7

Not supporting Windows yet, it does not compile google abseil under
Widows (there is prost -> protoc -> abseil dep). Bug on zig side:
ziglang/zig#10989
@hauserx hauserx changed the title Using hermetic C++ toolchain. Using hermetic linux C++ toolchain. Nov 24, 2024
@cameron-martin cameron-martin merged commit 1432ebc into cameron-martin:master Nov 25, 2024
4 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