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

Makefile: add COMPILEALL_OPTS variable to allow overriding compileall options in "make install" #99289

Closed
vstinner opened this issue Nov 9, 2022 · 1 comment
Labels
type-bug An unexpected behavior, bug, or error

Comments

@vstinner
Copy link
Member

vstinner commented Nov 9, 2022

Currently, compileall options (-j0) are hardcoded. In Fedora, we would like to add --hardlink-dupes option and also control the number of jobs (ex: replace -j0 with -j6).

Fedora downstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=2138023

@vstinner vstinner added the type-bug An unexpected behavior, bug, or error label Nov 9, 2022
vstinner added a commit that referenced this issue Nov 14, 2022
Add COMPILEALL_OPTS variable in Makefile to override compileall
options (default: -j0) in "make install". Also merge the compileall
commands into a single command building PYC files for the all
optimization levels (0, 1, 2) at once.

Co-authored-by: Gregory P. Smith <greg@krypto.org>
@vstinner
Copy link
Member Author

Fixed by 9a7e9f9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant