tar -xvf fftw-3.3.8.tar.gz
cd fftw-3.3.8
./configure --prefix=/path/to/FFTW--enable-shared --enable-static --enable-fma --enable-neon
make make install
export LIBRARY_PATH=/path/to/FFTW/lib:$LIBRARY_PATH export LD_LIBRARY_PATH=/path/to/FFTW/lib:$LD_LIBRARY_PATH