freebsd-ports/lang/julia/files/patch-stdlib_LinearAlgebra_src_lbt.jl
Thierry Thomas 47322ff8ea lang/julia: partly remove the dependency on gfortran
Theoretically this port should not depend on gfortran, because we do not
build the bundled OpenBLAS (use the system package) nor SuiteSparse (GPL
libraries are deactivated).

It is certainly possible to totally remove the dependency on gfortran,
but this would require some more intrusive patches: this one only removes
the linkage with the libraries provided by GCC (among them libgomp).

Remark: this does not fix the failure reported at
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273219#c37>.
2023-11-15 21:36:09 +01:00

11 lines
448 B
Julia

--- stdlib/LinearAlgebra/src/lbt.jl.orig 2023-08-24 16:20:21 UTC
+++ stdlib/LinearAlgebra/src/lbt.jl
@@ -210,7 +210,7 @@ function lbt_set_num_threads(nthreads)
end
function lbt_set_num_threads(nthreads)
- return ccall((:lbt_set_num_threads, libblastrampoline), Cvoid, (Int32,), nthreads)
+ return
end
function lbt_forward(path::AbstractString; clear::Bool = false, verbose::Bool = false, suffix_hint::Union{String,Nothing} = nothing)