-
Notifications
You must be signed in to change notification settings - Fork 202
Build toolchain-examples #1971
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
Build toolchain-examples #1971
Conversation
| @@ -1,6 +1,3 @@ | |||
| # Don't use the host's default PATH and LD_LIBRARY_PATH. | |||
| build --incompatible_strict_action_env | |||
|
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes env: 'bash': No such file or directory in the Java, Go and Python examples, even with bazel-contrib/rules_go#4465 to improve bash paths.
| @@ -7,10 +7,10 @@ module( | |||
| compatibility_level = 0, | |||
| ) | |||
|
|
|||
| bazel_dep(name = "platforms", version = "0.0.11") | |||
| bazel_dep(name = "platforms", version = "1.0.0") | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Various upgrades were done for improved Nix compatibility, plus things that transitively depended on those.
7a01bc0 to
7ca1bb8
Compare
|
I tested these examples out as specified in the docs for the toolchain examples. It works fine on my machine with the |
7ca1bb8 to
eedad85
Compare
eedad85 to
777b506
Compare
777b506 to
29b44b9
Compare
cec261c to
4519cdc
Compare
4519cdc to
b06ef5f
Compare
amankrx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally on a Mac machine. Works as expected.
b06ef5f to
44e6483
Compare
44e6483 to
8a4e70e
Compare
Description
Builds the examples in
toolchain-examplesso we don't accidentally break them.Type of change
Please delete options that aren't relevant.
How Has This Been Tested?
Mostly via the test step added in this PR, which tests everything in https://nativelink.com/docs/rbe/remote-execution-examples (with the exception of
abseil-cppand the rust target, both of which have errors with remote execution, as documented)Checklist
bazel test //...passes locallygit amendsee some docsThis change is