You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to make StaticCompiler runs on Julia 1.11, I've tried to set GPUCompiler compat to 0.27, and it failed to precompile:
julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:
StaticCompiler
Failed to precompile StaticCompiler [81625895-6c0f-48fc-b932-11a18313743c] to "/home/ifrit/.julia/compiled/v1.11/StaticCompiler/jl_UhgkE5".
WARNING: could not import GPUCompiler.CodeCache into StaticCompiler
ERROR: LoadError: UndefVarError: `CodeCache` not defined in `StaticCompiler`
Stacktrace:
[1] top-level scope
@ ~/scratchspace/rtdsp/StaticCompiler.jl/src/interpreter.jl:10
[2] include(mod::Module, _path::String)
@ Base ./Base.jl:557
[3] include(x::String)
@ StaticCompiler ~/scratchspace/rtdsp/StaticCompiler.jl/src/StaticCompiler.jl:1
[4] top-level scope
@ ~/scratchspace/rtdsp/StaticCompiler.jl/src/StaticCompiler.jl:22
[5] include
@ ./Base.jl:557 [inlined]
[6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2806
[7] top-level scope
@ stdin:4
in expression starting at /home/ifrit/scratchspace/rtdsp/StaticCompiler.jl/src/interpreter.jl:10
in expression starting at /home/ifrit/scratchspace/rtdsp/StaticCompiler.jl/src/StaticCompiler.jl:1
While trying to make
StaticCompiler
runs on Julia 1.11, I've tried to setGPUCompiler
compat to 0.27, and it failed to precompile:It turns out that
GPUCompiler.jl
uses Julia internal cache at 1.11: https://github.com/JuliaGPU/GPUCompiler.jl/blob/316668b6d34fc29cf48eb53280e254346ac94e51/src/jlgen.jl#L164 JuliaGPU/GPUCompiler.jl#545The text was updated successfully, but these errors were encountered: