Skip to content

Commit c2dadf1

Browse files
authored
Merge pull request #3938 from CliMA/ne/fix
Only load PrecompileCI in CI builds
2 parents 18b027c + 7d45171 commit c2dadf1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.buildkite/ci_driver.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ redirect_stderr(IOContext(stderr, :stacktrace_types_limited => Ref(false)))
99
# To load in the precompiled methods, run `using PrecompileCI` before loading ClimaAtmos.
1010
# To see what methods are precompiled, open julia: `julia --project=.buildkite/PrecompileCI`
1111
# and run `using PrecompileTools; PrecompileTools.verbose[] = true; include(".buildkite/PrecompileCI/src/PrecompileCI.jl")`
12-
using PrecompileCI
12+
haskey(ENV, "CI") && (using PrecompileCI)
13+
1314
import ClimaComms
1415
ClimaComms.@import_required_backends
1516
import ClimaAtmos as CA

0 commit comments

Comments
 (0)