Re:Apple Silicon M1: Black Magic Fuckery
by thoughtsimple on Wednesday November 25, 2020 @01:21PM
(#25212393)
I've been using MacPorts instead of Homebrew. It seems further ahead on the Darwin AArch64 transition. About 80% of things that I've tried have worked without trouble. Unfortunately, ffmpeg wasn't one of them. I got that working yesterday with libx264 and libx265 integration. Oddly, libx265 installs fine under MacPorts but libx264 doesn't. But I was able to download the latest from git and build it and copy it manually to /opt/local.
Re:Apple Silicon M1: Black Magic Fuckery
by rewtraw on Tuesday November 24, 2020 @07:57PM
(#25204824)
Running iTerm/Terminal in Rosetta allows it to work without issue, it's the best solution until more packages work natively under ARM.
Duplicate iTerm.app, right click & "Get Info", check "Open in Rosetta". Now install homebrew how you would on an Intel Mac and everything will work.
I've installed brew both in the historical /usr/local location as well as the future home of /opt/homebrew. I then created these two aliases:
My PATH selects for programs installed in the /opt/homebrew location first and then /usr/local. I try to install with the ARM version first with `armbrew install -s <PKG>` and if it fails, I move to using the `intbrew` alias as normal. I haven't really had any issues.It's obviously still messy but not in a way that is too bad!