Skip to content

Commit

Permalink
fftw: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
korli committed Apr 3, 2021
1 parent 2ba899b commit 9526cea
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
Expand Up @@ -15,15 +15,15 @@ HOMEPAGE="http://www.fftw.org/"
COPYRIGHT="2003, 2007-2011 Matteo Frigo
2003, 2007-2011 Massachusetts Institute of Technology"
LICENSE="GNU GPL v2"
REVISION="5"
REVISION="1"
SOURCE_URI="http://www.fftw.org/fftw-$portVersion.tar.gz"
CHECKSUM_SHA256="6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303"
CHECKSUM_SHA256="bf2c7ce40b04ae811af714deb512510cc2c17b9ab9d6ddcf49fe4487eea7af3d"
PATCHES="fftw-$portVersion.patchset"

ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"

libVersion="3.5.8"
libVersion="3.6.9"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"

PROVIDES="
Expand Down Expand Up @@ -125,15 +125,19 @@ BUILD()

CONFIGURE="--enable-shared --enable-threads --disable-avx --disable-avx2 \
--disable-avx512"
#CONFIGURE="--enable-shared --enable-threads"
if [ "$effectiveTargetArchitecture" = x86_64 ]; then
CONFIGURE_X86_64="--enable-sse2"
CONFIGURE_DOUBLE_X86_64="--enable-sse2"
CONFIGURE_SINGLE_X86_64="--enable-sse"
#CONFIGURE_DOUBLE_X86_64="--enable-sse2 --enable-avx"
#CONFIGURE_SINGLE_X86_64="--enable-sse --enable-avx"
fi

# build double-precision version
cd double
runConfigure ../configure \
$CONFIGURE \
$CONFIGURE_X86_64
$CONFIGURE_DOUBLE_X86_64
make $jobArgs
cd ..

Expand All @@ -155,12 +159,12 @@ if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then
cd ..
fi

# build float-precision version
# build single-precision version
cd float
runConfigure ../configure \
--enable-float \
--enable-single \
$CONFIGURE \
$CONFIGURE_X86_64
$CONFIGURE_SINGLE_X86_64
make $jobArgs
cd ..
}
Expand Down Expand Up @@ -191,6 +195,6 @@ INSTALL()
TEST()
{
for i in $DIRS; do
make -C $i check
make -C $i check $jobArgs
done
}
File renamed without changes.

0 comments on commit 9526cea

Please sign in to comment.