Opened 3 years ago
Closed 3 years ago
#63140 closed defect (fixed)
llvm-3.4: Invalid configuration `arm64-apple-darwin20': machine `arm64-apple' not recognized
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | arm64 | Cc: | larryv (Lawrence Velázquez), kencu (Ken) |
Port: | llvm-3.4 |
Description
llvm-3.4 doesn't build on arm64:
checking build system type... Invalid configuration `arm64-apple-darwin20': machine `arm64-apple' not recognized
Maybe using a newer config.guess / config.sub helps?
llvm-3.4 is a dependency of pure.
pure could use llvm-3.5 if that still existed in MacPorts but it cannot use llvm 3.6 or newer because llvm 3.6 removed a fundamental llvm feature upon which pure was built:
https://groups.google.com/g/pure-lang/c/nd__RPNI36I/m/NjZHjgyOAwAJ
Change History (3)
comment:1 Changed 3 years ago by kencu (Ken)
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Oh, I forgot that part. In that case, one could either fix llvm-3.4 for Apple Silicon or mark it as incompatible with Apple Silicon (using supported_archs
).
comment:3 Changed 3 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
The llvm subproject itself is much more forgiving to build than the rest of the llvm projects, so I would not be surprised if it could be done.
Sounds like, even if that were done, pure is not going to work on arm systems anyway, so it would be more of an experiment for fun than something that would get pure working on arm Macs:
" One pain point is ARM based computers, though, which are getting much more popular these days. The old JIT never worked properly there, so Pure can't support the Raspberry Pi, ARM Chromebooks, and the new Mac M1 computers. To make Pure work there will definitely require an update to the MCJIT. ""