Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
glou-nes committed Dec 12, 2024
1 parent 3dd3559 commit 1c464c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Reactant.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1c464c0

Please sign in to comment.