Skip to content

Ensure precompilation when testing runs without threads on Julia 1.11 #4140

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

Conversation

stemann
Copy link
Contributor

@stemann stemann commented Jan 25, 2025

Fixes JuliaLang/julia#56458

Precompilation with threads is not supported: JuliaLang/julia#53572 (comment)

Ensures that tests run with threads, both when calling julia --project --threads=auto --eval 'using Pkg; Pkg.test()', and when calling julia --project --eval 'using Pkg; Pkg.test(; julia_args = ["--threads=auto"])'.

@stemann stemann force-pushed the feature/1.11_test_precompile_threads branch 4 times, most recently from 13607ff to 6c64500 Compare January 25, 2025 14:59
@stemann
Copy link
Contributor Author

stemann commented Feb 25, 2025

@IanButterworth I've updated this one by cherry-picking #4141

@stemann
Copy link
Contributor Author

stemann commented Feb 25, 2025

Note the target branch (release/1.11) for this PR.

@stemann
Copy link
Contributor Author

stemann commented Feb 25, 2025

For some strange reason, I can't make the hangs reproduce on v1.11(.3) right now... - even without 6c64500, or without #4141 ...

@stemann
Copy link
Contributor Author

stemann commented Apr 1, 2025

@KristofferC This PR is related to #4141 just merged into release-1.11 with #4204. Should (and can) this be included for the next 1.11?

@KristofferC
Copy link
Member

Probably yes, there was no backport label on this so I didn't see it. Needs a rebase though.

stemann added 2 commits April 1, 2025 11:20
Fixes JuliaLang/julia#56458

Precompilation with threads is not supported: JuliaLang/julia#53572 (comment)

Ensures that tests run with threads, both when calling `julia --project --threads=auto --eval 'using Pkg; Pkg.test()'`, and when calling `julia --project --eval 'using Pkg; Pkg.test(; julia_args = ["--threads=auto"])'`.
@stemann stemann force-pushed the feature/1.11_test_precompile_threads branch from 0e8dd5b to 2e87b53 Compare April 1, 2025 09:22
@stemann
Copy link
Contributor Author

stemann commented Apr 1, 2025

Rebase done

@KristofferC KristofferC merged commit ec5b551 into JuliaLang:release-1.11 Apr 1, 2025
8 of 9 checks passed
@stemann stemann deleted the feature/1.11_test_precompile_threads branch April 5, 2025 14:53
@stemann stemann mentioned this pull request Apr 5, 2025
71 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants