Open ProdigyView opened 1 year ago
I've just ran a build and it worked fine here, 8Gb M1 mac mini - compile aom took 187s
Are you trying to build for an Intel or Apple Silicon Mac. The script is designed to build on Apple Silicon, and some of the flags force that. You mentioned it not building for x86_64, maybe a typo for arm64 ?
Its Silicon. Mac Book Pro, M1 Max. 32 GB of memory. It has
cmake aom shouldn't ask for i386 if should detect the arm64 CPU. Back in the day, before Homebrew properly supported Apple Silicon a lot of Homebrew users changed their Terminal to run using Rosetta as that made build script detect the CPU as intel and build stuff for intel so that they could run Homebrew stuff under Rosetta, that's not the case here is it ?
Since I can't duplicate the freeze its a bit hard to help. You say you are building AOM, is that as part of my ffmpeg script or are you trying to build AOM separately using my make configuration ?
If the former I'd try stripping my command down to
cmake -DCMAKE_INSTALL_PREFIX:PATH=/Users/xxxxxxxx/Development/ffmpeg-apple-arm64-build/tool -DENABLE_NEON=ON -DHAVE_NEON=1 -DENABLE_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release ../aom/
The NEON commands are probably not needed anymore, I've not tried that.
If you want aomenc (is that what the command is called ?) to encode stuff, you'll need to get rid off -DENABLE_EXAMPLES=OFF as I'm only interested in building a static library.
Here is a workaround for that very specific issue: locate the GNU.cmake
file in your homebrew Cellar, look for the call to as
. You'll see an Wl
option. Remove it.
I am trying to build AOM and the logs give me this:
And it just hangs. When I try to compile it on my own with
cmake aom
, there error message its more in-depth with:So apparently its trying to compile with i386 and not x86_64. I've tried the suggested
cmake aom -DCMAKE_TOOLCHAIN_FILE=aom/build/cmake/toolchains/x86-macos.cmake
and the same result.Any suggestions?