Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

feat(toolchain): add xz_target for remote execution #1881

Merged
merged 1 commit into from
Sep 6, 2021

Conversation

gibfahn
Copy link
Contributor

@gibfahn gibfahn commented Jun 4, 2021

This PR is a re-opening of #1559, which was closed due to inactivity.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

You cannot provide the xz dependency via a Bazel http_archive, instead you must have xz already installed on the system, which is not feasible in heterogeneous build environments.

What is the new behavior?

Allows a hermetic xz binary to be provided.

Worth noting that busybox provides a fully static musl busybox that
should work on any Linux system, that gives you both gzip and xz.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information


Commits (oldest to newest)

787a956 feat(toolchain): add xz_target for remote execution

Copied what is currently done for gzip_target.


Copied what is currently done for gzip_target.
Copy link
Collaborator

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alexeagle alexeagle merged commit bdea234 into bazelbuild:master Sep 6, 2021
@gibfahn gibfahn deleted the xz_target branch September 6, 2021 15:11
@gibfahn
Copy link
Contributor Author

gibfahn commented Sep 6, 2021

Thanks @alexeagle !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants