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

bpo-45020: Make "make all" output less noisy. #28554

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Sep 24, 2021

The focus here is on the output from generating frozen modules. Now we only print 3 lines when generating them. This is especially important as we freeze more modules.

https://bugs.python.org/issue45020

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

Sorry, this feels too fragile. I prefer one line per generated .h file over this.

@ericsnowcurrently
Copy link
Member Author

FYI, I'm de-prioritizing (tabling) this change.


Python/frozen_modules/__hello__.h: Programs/_freeze_module Lib/__hello__.py
Programs/_freeze_module __hello__ $(srcdir)/Lib/__hello__.py $(srcdir)/Python/frozen_modules/__hello__.h
$(FROZEN_DATA)/%.h: Programs/_freeze_module
Copy link
Member

Choose a reason for hiding this comment

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

FWIW, the commands in the block below this line give me the creeps (== I've never seen such make syntax before :-).

But perhaps we can define a pattern rule that tells how to generate a frozen .h file from a Lib .py file? That won't change the output volume, but it will simplify the Makefile.

@gvanrossum
Copy link
Member

Closing so it doesn't show as open in the bpo issue.

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

Successfully merging this pull request may close these issues.

4 participants