From 6bfe331056dac2a461c73223a93494c8f310f01a Mon Sep 17 00:00:00 2001 From: Simon Byrne Date: Fri, 16 Jun 2023 23:10:23 -0700 Subject: [PATCH] Define compile_cache outside __init__() (#471) --- src/GPUCompiler.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GPUCompiler.jl b/src/GPUCompiler.jl index 183e1289..b221928b 100644 --- a/src/GPUCompiler.jl +++ b/src/GPUCompiler.jl @@ -45,6 +45,10 @@ include("reflection.jl") include("precompile.jl") _precompile_() + + +compile_cache = "" # defined in __init__() + function __init__() STDERR_HAS_COLOR[] = get(stderr, :color, false)