Skip to content

Commit

Permalink
better precompile printout
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Dec 13, 2022
1 parent c6baa54 commit 98287c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/RoME.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,12 @@ end
function _doPrecompileWorkload(;
skipCompile::Bool = string(get(ENV,"ROMEJL_SKIP_SNOOPPRECOMPILE","false")) == "true"
)
println("RoME.jl precompilation can be skipped by setting ENV variable ROMEJL_SKIP_SNOOPPRECOMPILE=\"true\"")
if skipCompile
@warn "ENV variable ROMEJL_SKIP_SNOOPPRECOMPILE exists and set to $(ENV["ROMEJL_SKIP_SNOOPPRECOMPILE"]), so skipping RoME precompilation workload."
return nothing
end

# do actual workload
warmUpSolverJIT()
end
Expand Down

0 comments on commit 98287c1

Please sign in to comment.