Skip to content

Commit

Permalink
Update libs.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
rayegun authored Nov 12, 2023
1 parent 8d19df5 commit 21d9629
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ const _PREFERENCE_SLUINT64 = @load_preference("libsuperlu_dist_Int64", nothing)
flags = RTLD_DEEPBIND | RTLD_LAZY
if _PREFERENCE_SLUINT32 === nothing && _PREFERENCE_SLUINT64 === nothing
using SuperLU_DIST_jll
elseif _PREFERENCE_SLUINT64 === nothing
libsuperlu_dist_Int32 = _PREFERENCE_SLUINT32
dlopen(libsuperlu_dist_Int32, flags; throw_error=true)
libsuperlu_dist_Int64 = nothing
elseif _PREFERENCE_SLUINT32 === nothing
libsuperlu_dist_Int64 = _PREFERENCE_SLUINT64
dlopen(libsuperlu_dist_Int64, flags; throw_error=true)
libsuperlu_dist_Int32 = nothing
elseif _PREFERENCE_SLUINT32 === nothing
libsuperlu_dist_Int32 = _PREFERENCE_SLUINT32
dlopen(libsuperlu_dist_Int32, flags; throw_error=true)
libsuperlu_dist_Int64 = nothing
else
libsuperlu_dist_Int64 = _PREFERENCE_SLUINT64
dlopen(libsuperlu_dist_Int64, flags; throw_error=true)
Expand Down

0 comments on commit 21d9629

Please sign in to comment.