Hi AFNI community,
I used Codex to build an unofficial AFNI macOS 26 binaries for Apple M2. I am sharing it in case it helps anhone who want a optimized-built AFNI binary on newer Apple hardware.
This is not an official AFNI/NIMH build. Please treat it as a community build and do not use it in a production enviroment.
Build summary:
AFNI version: AFNI_25.2.00 'Gordian I'
Architecture: arm64
Build system: 2023 MacBook Pro, Apple M2 Max
Compiler: Apple clang
Optimization: -O3 -mcpu=apple-m2 -pipe
Package: macos_13_ARM.AFNI_25.2.00.m2clang.2.tgz
Dependency choices:
jpeg-turbo instead of system libjpeg
zlib-ng-compat instead of system zlib
Runtime Homebrew packages requirements:
brew install openmotif mesa-glu gsl glib libomp libxpm zlib-ng-compat
The package includes atlas/template/assets from https://afni.nimh.nih.gov/pub/dist/tgz/macos_13_ARM.AFNI_25.3.03.tgz and removes Python __pycache__ files.
Release:
https://github.com/cecilyen/MacM2_AFNI/releases/tag/v25.2.00-m2clang.2
README:
https://github.com/cecilyen/MacM2_AFNI/blob/main/README.md
I would appreciate any feedback as this is the first time Codex (AI agent) to help me building AFNI on macOS.