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

Precompiling an explicit set of packages in REPL does not work #3999

Closed
KristofferC opened this issue Aug 19, 2024 · 0 comments · Fixed by #4014
Closed

Precompiling an explicit set of packages in REPL does not work #3999

KristofferC opened this issue Aug 19, 2024 · 0 comments · Fixed by #4014

Comments

@KristofferC
Copy link
Member

(@v1.12) pkg> precompile BenchmarkTools Cthulhu JuliaSyntax
ERROR: MethodError: no method matching precompile(::String, ::String, ::String)
The function `precompile` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  precompile(::Union{AbstractString, Pkg.Types.PackageSpec}; kwargs...)
   @ Pkg ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Pkg/src/API.jl:146
  precompile(::Pkg.Types.Context, ::Vector{Pkg.Types.PackageSpec}; internal_call, strict, warn_loaded, already_instantiated, timing, _from_loading, configs, workspace, kwargs...)
   @ Pkg ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Pkg/src/API.jl:1126
  precompile(; name, uuid, version, url, rev, path, mode, subdir, kwargs...)
   @ Pkg ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Pkg/src/API.jl:165

Also seems to happen on 1.11 and 1.10

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

Successfully merging a pull request may close this issue.

1 participant