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

Add support for path mapping #3915

Merged
merged 3 commits into from
May 29, 2024
Merged

Add support for path mapping #3915

merged 3 commits into from
May 29, 2024

Commits on May 29, 2024

  1. Add support for path mapping

    Path mapping improves disk/remote cache hit ratio by automatically
    removing the configuration-specific path segments (e.g.
    `k8-fastbuild-ST-12345678`) from action command lines before staging
    them for execution.
    
    This commit makes the stdlib, compilepkg (assuming no cgo) and
    gentestmain actions compatible with path mapping, which is mostly
    automatic except that `GOROOT` now needs to be passed in via a flag
    rather than an environment variable.
    
    Can be tested via `--experimental_output_paths=strip` with Bazel
    last_green.
    
    See https://www.youtube.com/watch?v=Et1rjb7ixUU for more information on
    path mapping.
    fmeum committed May 29, 2024
    Configuration menu
    Copy the full SHA
    3d12a56 View commit details
    Browse the repository at this point in the history
  2. Update WORKSPACE

    fmeum authored May 29, 2024
    Configuration menu
    Copy the full SHA
    4430157 View commit details
    Browse the repository at this point in the history
  3. Update WORKSPACE

    fmeum authored May 29, 2024
    Configuration menu
    Copy the full SHA
    81a8ba4 View commit details
    Browse the repository at this point in the history