I tried to compile mha from source on macOS 11. I installed the required software and packages.
When I try make I get the following error:
Code: Select all
felinemalin@MacBook-Air-von-Malin openMHA % make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C external_libs
cd libemx/. && /Applications/Xcode.app/Contents/Developer/usr/bin/make -j 1
clang -Wall -Wextra -std=gnu11 -fPIC -O3 -mcpu=cortex-a8 -mfloat-abi=hard -mfpu=neon -ffast-math -fomit-frame-pointer -fno-finite-math-only -isystem/opt/local/include -Wno-error=unused-command-line-argument -g -isystem /Users/felinemalin/Desktop/steffens_kram/openMHA/external_libs/arm64-Darwin-clang/include -Wall -Wextra -Werror -std=gnu11 -fPIC -O3 -mcpu=cortex-a8 -mfloat-abi=hard -mfpu=neon -ffast-math -fomit-frame-pointer -fno-finite-math-only -isystem/opt/local/include -Wno-error=unused-command-line-argument -g -isystem /Users/felinemalin/Desktop/steffens_kram/openMHA/external_libs/arm64-Darwin-clang/include -c -o arm64-Darwin-clang/emxAPI.o src/emxAPI.c
clang: error: the clang compiler does not support '-mcpu=cortex-a8'
make[2]: *** [arm64-Darwin-clang/emxAPI.o] Error 1
make[1]: *** [arm64-Darwin-clang/libemx.is_installed] Error 2
make: *** [external_libs] Error 2
Best regards,
Steffen