Compiling AFNI with M1

I have problem with compilling AFNI on Apple m1 (Buiding fails when building SUMA)
Cannot build suma on M1 · Issue #376 · afni/afni (github.com)
I dont know if it related to M1 or my inexperience with AFNI

There were some recent MacOS updates that broke some compatibility across different copies of libraries. We have updated the build to rely on homebrew libraries instead. See this recent thread: