Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions dev/prologue.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
using t8code_jll: t8code_jll
export t8code_jll

using ..T8code: _PREFERENCE_LIBT8, _PREFERENCE_LIBP4EST, _PREFERENCE_LIBSC

@static if _PREFERENCE_LIBT8 == "t8code_jll" || _PREFERENCE_LIBP4EST == "t8code_jll" ||
_PREFERENCE_LIBSC == "t8code_jll"
using t8code_jll: t8code_jll
end

using MPIPreferences: MPIPreferences

@static if _PREFERENCE_LIBT8 == "t8code_jll" && MPIPreferences.binary == "system"
Expand Down
3 changes: 2 additions & 1 deletion src/Libt8.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ end

using ..T8code: _PREFERENCE_LIBT8, _PREFERENCE_LIBP4EST, _PREFERENCE_LIBSC

@static if _PREFERENCE_LIBT8 == "t8code_jll" || _PREFERENCE_LIBP4EST == "t8code_jll" || _PREFERENCE_LIBSC == "t8code_jll"
@static if _PREFERENCE_LIBT8 == "t8code_jll" || _PREFERENCE_LIBP4EST == "t8code_jll" ||
_PREFERENCE_LIBSC == "t8code_jll"
using t8code_jll: t8code_jll
end

Expand Down
Loading