Skip to content

Commit 6124929

Browse files
authored
Make CI env var parsing more robust
1 parent 1080de5 commit 6124929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ enable_timings() = (TimerOutputs.enable_debug_timings(GPUCompiler); return)
1515

1616
should_verify() = ccall(:jl_is_debugbuild, Cint, ()) == 1 ||
1717
Base.JLOptions().debug_level >= 2 ||
18-
parse(Bool, get(ENV, "CI", "false"))
18+
something(tryparse(Bool, get(ENV, "CI", "false")), true)
1919

2020
isdebug(group, mod=GPUCompiler) =
2121
Base.CoreLogging.current_logger_for_env(Base.CoreLogging.Debug, group, mod) !== nothing

0 commit comments

Comments
 (0)