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

Suppress goroot path in tool builds #2952

Merged
merged 1 commit into from
Sep 22, 2021

Commits on Sep 16, 2021

  1. Suppress goroot path in tool builds

    The goroot is encoded in the output binary, but the goroot is different
    in different workspaces. As a result tool binaries (such as builder) are
    not reproducible. Bazel will have cache misses for build involving
    builder even if the resulting output from the build is repoducible.
    
    Similar go_binary builds, suppress the goroot path.
    adobke committed Sep 16, 2021
    Configuration menu
    Copy the full SHA
    c960c88 View commit details
    Browse the repository at this point in the history