Explorar el Código

julia: Link with the openblas library shipped with Julia.

Pierre Huchant hace 5 años
padre
commit
b4de281720
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. 9 0
      julia/src/openblas_ldflags.jl

+ 9 - 0
julia/src/openblas_ldflags.jl

@@ -0,0 +1,9 @@
+import LinearAlgebra.BLAS
+import Libdl
+
+
+libdir = normpath(joinpath(splitpath(filter(x->occursin(Base.libblas_name,x), Libdl.dllist())[1])[1:end-1]...))
+libpath = normpath(filter(x->occursin(Base.libblas_name,x), Libdl.dllist())[1])
+libname = Base.libblas_name[4:end]
+println("-Wl,-rpath,$libpath -L$libdir -l$libname")
+