view src/fftw-3.3.3/support/twovers.sh @ 164:9fa11135915a

This Mac compatibility fix appears to work, resolving SourceForge issue #273 Port Audio Fail on MacOS Catalina (10.15) - merging back
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 31 Oct 2019 13:20:41 +0000
parents 89f5e221ed7b
children
line wrap: on
line source
#! /bin/sh

# wrapper to generate two codelet versions, with and without
# fma

genfft=$1
shift

echo "#ifdef HAVE_FMA"
echo
  $genfft -fma -reorder-insns -schedule-for-pipeline $*
echo
echo "#else /* HAVE_FMA */"
echo
  $genfft $*
echo
echo "#endif /* HAVE_FMA */"