diff --git a/src/Reactant.jl b/src/Reactant.jl index cae988b3e..fdd3ca312 100644 --- a/src/Reactant.jl +++ b/src/Reactant.jl @@ -125,8 +125,9 @@ function set_default_backend(backend::String) end #HACK: Disable precompilation for test -@static if splitpath(Base.active_project())[end - 1] != "test" - @info "enable precompilation :" Base.active_project() +@info gethostname() +@static if splitpath(Base.active_project())[2] != "runner" + @info "enable precompilation" include("precompile.jl") end