# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/fftw3/fftw3.conf # Copyright (C) 2004 - 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- # Optimization [ "$arch" = "x86" ] && var_append confopt " " "--enable-i386-hacks" [ "$arch" = "x86-64" ] && var_append confopt " " "--enable-sse2 --enable-avx" [ "$arch" = "arm64" ] && var_append confopt " " "--enable-neon" var_append confopt " " "--enable-threads" var_append confopt " " "--enable-shared" # most packages require doubles, float is not really faster on modern CPUs # var_append confopt " " "--enable-float" if [ ! "`type -p $F77`" ]; then var_append confopt ' ' "--disable-fortran" fi