-
-
Notifications
You must be signed in to change notification settings - Fork 197
make sure 1 thread is used in julia processes #1041
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1041 +/- ##
=======================================
Coverage 86.16% 86.16%
=======================================
Files 3 3
Lines 795 795
=======================================
Hits 685 685
Misses 110 110 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmd = `$(get_julia_cmd()) --cpu-target $cpu_target | ||
cmd = `$(get_julia_cmd()) --threads=1 --cpu-target $cpu_target |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unnecessary (see #1042)
cmd = addenv(`$(get_julia_cmd()) --cpu-target $cpu_target | ||
cmd = addenv(`$(get_julia_cmd()) --threads=1 --cpu-target $cpu_target |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unnecessary (see #1042)
cmd = `$(get_julia_cmd()) --cpu-target=$cpu_target $sysimage_build_args | ||
cmd = `$(get_julia_cmd()) --threads=1 --cpu-target=$cpu_target $sysimage_build_args |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix is incomplete. If --threads=…
or -t=…
is set in sysimage_build_args
it will override --threads=1
, triggering the bug again.
I also vote for #1042 |
ref, https://discourse.julialang.org/t/packagecompiler-hangs-while-compiling-nonincremental-system-image-on-julia-v1-11/128099/14