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

1.11: Handling of --compiled-modules=existing is broken #3737

Closed
maleadt opened this issue Dec 19, 2023 · 0 comments · Fixed by #3738
Closed

1.11: Handling of --compiled-modules=existing is broken #3737

maleadt opened this issue Dec 19, 2023 · 0 comments · Fixed by #3738

Comments

@maleadt
Copy link
Member

maleadt commented Dec 19, 2023

After JuliaLang/julia#50586, Base.JLOptions().use_compiled_modules can be 2 for --compiled-modules=existing:

❯ ../julia --compiled-modules=existing --project -e 'using Pkg; Pkg.test()'
     Testing Running tests...
ERROR: InexactError: Bool(2)
Stacktrace:
  [1] Bool
    @ ./float.jl:233 [inlined]
  [2] gen_subprocess_cmd(code::String, source_path::String; coverage::Bool, julia_args::Cmd)
    @ Pkg.Operations ~/Julia/src/julia/build/dev/usr/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1685
  [3] gen_subprocess_cmd
    @ ~/Julia/src/julia/build/dev/usr/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1677 [inlined]

JuliaLang/julia#52573 adds something similar for --pkgimages, but that doesn't seem to get forwarded by Pkg. I guess it should?

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