Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When precompiling, UndefVarError: CompilerConfig not defined #247

Closed
dmillard opened this issue Aug 22, 2023 · 2 comments
Closed

When precompiling, UndefVarError: CompilerConfig not defined #247

dmillard opened this issue Aug 22, 2023 · 2 comments

Comments

@dmillard
Copy link

dmillard commented Aug 22, 2023

On [dde4c033] Metal v0.5.0

[ Info: Precompiling Metal [dde4c033-4e86-420c-a63e-0dd931031962]
ERROR: LoadError: UndefVarError: `CompilerConfig` not defined
Stacktrace:
 [1] top-level scope
   @ ~/.julia/packages/Metal/qeZqc/src/compiler/compilation.jl:4
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:457
 [3] include(x::String)
   @ Metal ~/.julia/packages/Metal/qeZqc/src/Metal.jl:1
 [4] top-level scope
   @ ~/.julia/packages/Metal/qeZqc/src/Metal.jl:44
 [5] include
   @ ./Base.jl:457 [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::String)
   @ Base ./loading.jl:2049
 [7] top-level scope
   @ stdin:3
@dmillard
Copy link
Author

dmillard commented Aug 22, 2023

On some more investigation, this seems to be somewhat transient - I had an outdated version of the CUDA.jl package in the same environment as a newer Metal.jl package. Upgrading CUDA.jl fixed the issue.

@maleadt
Copy link
Member

maleadt commented Aug 22, 2023

Probably an upper bound on GPUCompiler that isn't tight enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants