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

[backports 1.11] precompile: improve precision of extension dependencies #56624

Conversation

topolarity
Copy link
Member

This is a slimmed-down version of #55910, without any of the re-factoring. This improves the parallelism of the pre-compile job and fixes a correctness bug, where unconditionally injecting a dependency after its parent could be in conflict with dependencies in between triggers, causing false extension cycles.

Without this fix, adding AMDGPU.jl and Tracker.jl reports a false cycle on 1.11

@topolarity topolarity added the bugfix This change fixes an existing bug label Nov 20, 2024
This change is a slimmed-down version of JuliaLang#55910, without any of the
re-factoring.

This improves the parallelism of the pre-compile job and fixes a
correctness bug, where unconditionally injecting a dependency after its
parent could be in conflict with dependencies in between triggers,
causing false extension cycles.

For example adding `AMDGPU.jl` and `Tracker.jl` in your project reports
a false cycle (without this change).
@topolarity topolarity force-pushed the ct/bugfix-ext-injection branch from 859f8b1 to 0ca0d32 Compare November 20, 2024 17:26
@topolarity topolarity merged commit f55307c into JuliaLang:backports-release-1.11 Nov 21, 2024
6 checks passed
@topolarity topolarity deleted the ct/bugfix-ext-injection branch November 21, 2024 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant