From 85def53dc727566ec52e9bda406f2d8efefc548b Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Thu, 17 Oct 2024 16:03:00 +0530 Subject: [PATCH] fix: disable precompilation workload in GroebnerExt Depends on NemoExt, which won't be loaded due to https://github.com/JuliaLang/julia/pull/55589 --- ext/SymbolicsGroebnerExt.jl | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/ext/SymbolicsGroebnerExt.jl b/ext/SymbolicsGroebnerExt.jl index 66d069060..a8ce61845 100644 --- a/ext/SymbolicsGroebnerExt.jl +++ b/ext/SymbolicsGroebnerExt.jl @@ -318,14 +318,15 @@ function Symbolics.solve_multivar(eqs::Vector, vars::Vector{Num}; dropmultiplici end # Helps with precompilation time -PrecompileTools.@setup_workload begin - @variables a b c x y z - simple_linear_equations = [x - y, y + 2z] - equations_intersect_sphere_line = [x^2 + y^2 + z^2 - 9, x - 2y + 3, y - z] - PrecompileTools.@compile_workload begin - symbolic_solve(simple_linear_equations, [x, y], warns=false) - symbolic_solve(equations_intersect_sphere_line, [x, y, z], warns=false) - end -end +# PrecompileTools.@setup_workload begin +# @variables a b c x y z +# simple_linear_equations = [x - y, y + 2z] +# equations_intersect_sphere_line = [x^2 + y^2 + z^2 - 9, x - 2y + 3, y - z] +# PrecompileTools.@compile_workload begin +# symbolic_solve(simple_linear_equations, [x, y], warns=false) +# symbolic_solve(equations_intersect_sphere_line, [x, y, z], warns=false) +# end +# end +# Disabled due to https://github.com/JuliaLang/julia/pull/55589 end # module