diff --git a/stdlib/OpenBLAS_jll/src/OpenBLAS_jll.jl b/stdlib/OpenBLAS_jll/src/OpenBLAS_jll.jl index c57dd15bb1930..2684a6b635cb4 100644 --- a/stdlib/OpenBLAS_jll/src/OpenBLAS_jll.jl +++ b/stdlib/OpenBLAS_jll/src/OpenBLAS_jll.jl @@ -47,7 +47,7 @@ function __init__() !haskey(ENV, "OMP_NUM_THREADS") # We set this to `1` here, and then LinearAlgebra will update # to the true value in its `__init__()` function. - ENV["OPENBLAS_NUM_THREADS"] = "1" + ENV["OPENBLAS_DEFAULT_NUM_THREADS"] = "1" end global libopenblas_handle = dlopen(libopenblas)