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

jit.c always recompiles, even on non-JIT builds #114883

Closed
brandtbucher opened this issue Feb 1, 2024 · 1 comment
Closed

jit.c always recompiles, even on non-JIT builds #114883

brandtbucher opened this issue Feb 1, 2024 · 1 comment
Assignees
Labels
3.13 bugs and security fixes build The build process and cross-build topic-JIT

Comments

@brandtbucher
Copy link
Member

brandtbucher commented Feb 1, 2024

I think I messed up the Makefile rules for Python/jit.o and regen-jit. Since regen-jit is "phony", the rule isn't in the dependency graph and make has no way of knowing if a recompile is necessary.

We may have to do something similar to what we did for the Windows builds and encode the dependencies in the Makefile. Or maybe there's an easier way. If anyone has any tips, please share!

Linked PRs

@brandtbucher brandtbucher added build The build process and cross-build 3.13 bugs and security fixes labels Feb 1, 2024
@brandtbucher brandtbucher self-assigned this Feb 1, 2024
@brandtbucher brandtbucher changed the title jit.c *always* recompiles, even on non-JIT builds jit.c always recompiles, even on non-JIT builds Feb 1, 2024
@zware
Copy link
Member

zware commented Feb 1, 2024

I don't have a full understanding of how the JIT build works, but I think I'm on the cusp of a Makefile fix that you can tweak to work correctly for the JIT-enabled build. PR to come.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes build The build process and cross-build topic-JIT
Projects
None yet
Development

No branches or pull requests

2 participants