Skip to content

Freezing precompilation #19

@MilesCranmer

Description

@MilesCranmer

On Julia 1.10 there are issues related to opening persistent I/O during precompilation.

I just installed julia-1.10-rc2 and now am seeing hanging precompilation on my entire base environment due to Random123 (which is an indirect dependency). Here is my system:

julia> versioninfo()
Julia Version 1.10.0-rc2
Commit dbb9c46795b (2023-12-03 15:25 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 8 × Apple M1 Pro
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
  Threads: 8 on 6 virtual cores
Environment:
  JULIA_FORMATTER_SO = /Users/mcranmer/julia_formatter.so
  JULIA_NUM_THREADS = auto
  JULIA_EDITOR = code

Related to #18 with @IanButterworth and @sunoru.

Is it potentially due to the following const which opens a process?

cmd = Base.julia_cmd()
push!(
cmd.exec, "-e",
"const __m128i = NTuple{2, VecElement{UInt64}};" *
"@assert ccall(\"llvm.x86.aesni.aeskeygenassist\", " *
"llvmcall, __m128i, (__m128i, UInt8), " *
"__m128i((0x0123456789123450, 0x9876543210987654)), 0x1) ≡ " *
"__m128i((0x857c266f7c266e85, 0x2346382146382023))"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions