JuliaLang / Pkg.jl

Pkg - Package manager for the Julia programming language
https://pkgdocs.julialang.org
Other
610 stars 251 forks source link

CI: Add Apple Silicon (macOS aarch64) to the CI matrix #3793

Closed IanButterworth closed 4 months ago

DilumAluthge commented 4 months ago

Is this actually downloading the correct Julia?

E.g. if I look at https://github.com/JuliaLang/Pkg.jl/actions/runs/7891826267/job/21536978272?pr=3793, I see:

Platform Info:
  OS: macOS (x86_64-apple-darwin22.4.0)
  CPU: 3 × Apple M1 (Virtual)
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, westmere)

IIUC, this looks like we've downloaded the macOS x86_64 build of Julia, and we're running it on Apple M1 under Rosetta, right?

DilumAluthge commented 4 months ago

For contrast, if I look at https://github.com/JuliaSparse/SparseArrays.jl/actions/runs/7891594032/job/21536261812?pr=505 (which is from https://github.com/JuliaSparse/SparseArrays.jl/pull/505), I see:

Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 3 × Apple M1 (Virtual)
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, apple-m1)
IanButterworth commented 4 months ago

Ok yeah, that's more like it. 20 min on Apple silicon. 35 min on Intel