Skip to content

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

Merged
topolarity merged 1 commit intoJuliaLang:backports-release-1.11from
topolarity:ct/bugfix-ext-injection
Nov 21, 2024
Merged

[backports 1.11] precompile: improve precision of extension dependencies#56624
topolarity merged 1 commit intoJuliaLang:backports-release-1.11from
topolarity:ct/bugfix-ext-injection

Conversation

@topolarity
Copy link
Copy Markdown
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
@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