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

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.


@google-cla google-cla bot added the cla: yes label Jun 4, 2021
@gibfahn gibfahn force-pushed the xz_target branch 18 times, most recently from d4c260b to 69a9ab9 Compare September 6, 2021 13:38
Copied what is currently done for gzip_target.
Copy link
Contributor

@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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants