Skip to content

Commit

Permalink
force singlethreading during precompilation (#48592)
Browse files Browse the repository at this point in the history
(cherry picked from commit c0d2c57)
  • Loading branch information
IanButterworth authored and KristofferC committed Feb 21, 2023
1 parent a9e4b35 commit 10342e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2053,7 +2053,8 @@ function create_expr_cache(pkg::PkgId, input::String, output::String, output_o::
--color=$(have_color === nothing ? "auto" : have_color ? "yes" : "no")
$trace
-`,
"OPENBLAS_NUM_THREADS" => 1),
"OPENBLAS_NUM_THREADS" => 1,
"JULIA_NUM_THREADS" => 1),
stderr = internal_stderr, stdout = internal_stdout),
"w", stdout)
# write data over stdin to avoid the (unlikely) case of exceeding max command line size
Expand Down

0 comments on commit 10342e2

Please sign in to comment.