Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GLMakie precompiles on Julia 1.11.2 #329

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ WriteVTK = "64499a7a-5c06-52f2-abe2-ccb03c286192"

[extensions]
ExportVTKExt = "WriteVTK"
GLMakiePrecompilesExt = "GLMakie"
GLMakiePrecompilesExt = ["Makie", "GLMakie"]
PlottingExt = "Makie"
WGLMakiePrecompilesExt = "WGLMakie"
WGLMakiePrecompilesExt = ["Makie", "WGLMakie"]

[compat]
CrystalInfoFramework = "0.7.0"
Expand Down
6 changes: 0 additions & 6 deletions ext/GLMakiePrecompilesExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ module GLMakiePrecompilesExt
import Sunny, GLMakie
import PrecompileTools as PT

# Julia 1.11.1 caused a change in the ordering of precompilation for extensions.
# See https://github.com/JuliaLang/julia/issues/56204#issuecomment-2439588043
@static if VERSION < v"1.11.1"

PT.@setup_workload begin
PT.@compile_workload begin
cryst = Sunny.bcc_crystal()
Expand All @@ -21,6 +17,4 @@ PT.@setup_workload begin
end
end

end # VERSION < v"1.11.1"

end
Loading