Skip to content

Commit 1652c3c

Browse files
morefix
1 parent 96e249e commit 1652c3c

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

stdlib/CompilerSupportLibraries_jll/src/CompilerSupportLibraries_jll.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
baremodule CompilerSupportLibraries_jll
66
using Base, Libdl, Base.BinaryPlatforms
77

8-
export libgfortran, libstdcxx, libgomp, libatomic, libgcc_s, libquadmath
8+
export libgfortran, libstdcxx, libgomp, libatomic, libgcc_s
99

1010
# These get calculated in __init__()
1111
const PATH = Ref("")

stdlib/OpenBLAS_jll/src/OpenBLAS_jll.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ else
3030
end
3131

3232
if Sys.isapple()
33-
_libopenblas_dependencies = LazyLibrary[libquadmath, libgfortran]
33+
_libopenblas_dependencies = LazyLibrary[libgfortran]
34+
if isdefined(CompilerSupportLibraries_jll, :libquadmath)
35+
push!(_libopenblas_dependencies, CompilerSupportLibraries_jll.libquadmath)
36+
end
3437
elseif Sys.isfreebsd()
3538
_libopenblas_dependencies = LazyLibrary[]
3639
else

stdlib/SuiteSparse_jll/src/SuiteSparse_jll.jl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ else
122122
end
123123
const libklu = LazyLibrary(_libklu_path; dependencies=_libklu_dependencies)
124124

125-
if Sys.isapple()
125+
if Sys.isfreebsd()
126+
_libspqr_dependencies = LazyLibrary[]
127+
elseif Sys.isapple()
126128
_libspqr_dependencies = LazyLibrary[libsuitesparseconfig, libcholmod, libblastrampoline]
127129
else
128130
_libspqr_dependencies = LazyLibrary[
@@ -131,7 +133,11 @@ else
131133
end
132134
const libspqr = LazyLibrary(_libspqr_path; dependencies=_libspqr_dependencies)
133135

134-
_libumfpack_dependencies = LazyLibrary[libsuitesparseconfig, libamd, libcholmod, libblastrampoline]
136+
if Sys.isfreebsd()
137+
_libumfpack_dependencies = LazyLibrary[]
138+
else
139+
_libumfpack_dependencies = LazyLibrary[libsuitesparseconfig, libamd, libcholmod, libblastrampoline]
140+
end
135141
const libumfpack = LazyLibrary(_libumfpack_path; dependencies=_libumfpack_dependencies)
136142

137143
function eager_mode()

stdlib/libLLVM_jll/src/libLLVM_jll.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ else
2323
const _libLLVM_path = BundledLazyLibraryPath("$(Base.libllvm_name).so")
2424
end
2525

26-
if Sys.isapple()
26+
if Sys.isfreebsd()
27+
_libLLVM_dependencies = LazyLibrary[]
28+
elseif Sys.isapple()
2729
_libLLVM_dependencies = LazyLibrary[libz]
2830
else
2931
_libLLVM_dependencies = LazyLibrary[libstdcxx, libgcc_s, libz]

0 commit comments

Comments
 (0)