-
Notifications
You must be signed in to change notification settings - Fork 39
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
Precompilation error when loading BifurcationKit and GLMakie in a fresh environment #178
Comments
It is a design issue coming from my implementation. I do not know how to support plots and Makie without forcing recompilation. If you have ideas, please PR! |
Given that both Plots and Makie are loaded through extensions, I'm wondering if something like function get_plot_backend()
!isnothing(Base.get_extension(BifurcationKit,:MakieExt)) && return BK_Makie()
!isnothing(Base.get_extension(BifurcationKit,:PlotsExt)) && return BK_Plots()
return BK_NoPlot()
end could work... |
Ok, I just tested that and it works fine. Benchmarking on my PC returns
Clearly this is worse than your initial solution in terms of runtime : x316 speed-down :). I've also tested using a Let me know what you think about this. I'll try to push this later today. |
I will try when you push but if it removes the warning, it is already a step |
I just pushed my ideas, let me know which is better... or worse :) |
Closed by #179 |
Hello,
I'm trying to use BifurcationKit along with GLMakie, but that fails during precompilation.
The following
] activate --temp add BifurcationKit add GLMakie
gives
Is this an intended behavior ?
This is with
under
The text was updated successfully, but these errors were encountered: