-
-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow passing arguments to PEX invocation used for
pex_binary
(#20737)
This adds a new field `extra_build_args` to `pex_binary` that just faithfully passes through arbitrary arguments to the `pex ...` invocation used to build the PEX. This gives users more control and flexibility for new PEX features that Pants might not (yet) expose natively. For instance, the functionality requested in #20227 can now be solved by passing `extra_build_args=["--no-compress"]`, and similarly people can now start taking advantage of the `--no-pre-install-wheels` functionality for their own PEXes (relates to #20562).
- Loading branch information
Showing
3 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters