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

Darwin ARM: libhwloc not defined #44

Closed
lukeburns opened this issue Mar 18, 2021 · 3 comments
Closed

Darwin ARM: libhwloc not defined #44

lukeburns opened this issue Mar 18, 2021 · 3 comments

Comments

@lukeburns
Copy link

Running native Julia v1.7 on Mac M1

Also see JuliaMath/FFTW.jl#187

julia> versioninfo()
Julia Version 1.7.0-DEV.720
Commit 5515893eac (2021-03-17 18:47 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin20.2.0)
  CPU: Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, cyclone)

pkg> add Hwloc_jll
...
julia> using Hwloc
[ Info: Precompiling Hwloc [0e44f5e4-bd66-52a0-8798-143a42290a1d]
ERROR: LoadError: UndefVarError: libhwloc not defined
@giordano
Copy link
Member

giordano commented Apr 2, 2021

Meta issue about building JLL packages for the new platform: JuliaPackaging/Yggdrasil#2763.

@mcabbott
Copy link

mcabbott commented Jun 19, 2021

Note that there is now a v2.5 upstream: https://www.open-mpi.org/software/hwloc/v2.5/

The current https://github.com/JuliaBinaryWrappers/Hwloc_jll.jl uses version v2.4.1 https://github.com/JuliaPackaging/Yggdrasil/blob/master/H/Hwloc/build_tarballs.jl .

As described here: JuliaPackaging/Yggdrasil#2763 (comment), the easiest way to support ARM is to make a new release of Hwloc_jll.jl which only supports Julia 1.6, and the version of this jll can still match the upstream library.

This package does not seem to bound the jll version: https://github.com/JuliaParallel/Hwloc.jl/blob/master/Project.toml . So no new release would be needed here.

@giordano
Copy link
Member

Fixed by JuliaPackaging/Yggdrasil#3190. Note that tests will fail because CpuId.jl isn't ARM-friendly

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

3 participants