From 1c464c0e0079624b7285d089f98c572774ca9fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20LOUNES?= Date: Thu, 12 Dec 2024 18:28:25 +0100 Subject: [PATCH] test --- src/Reactant.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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