summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2017-02-23 19:50:48 +0100
committerAvatar Timo Gurr <tgurr@exherbo.org> 2017-02-24 11:15:39 +0100
commit2d5895b037372f25c8bfef34802800c1945ba827 (patch)
tree179d74d3c024de571a2e9f5631f8965721787ebd
parentaf63638a50357fbcdaa47218097b0fa658d3c801 (diff)
downloadscientific-2d5895b037372f25c8bfef34802800c1945ba827.tar.gz
scientific-2d5895b037372f25c8bfef34802800c1945ba827.tar.xz
fftw: version bump to 3.3.6_p1
Change-Id: I43ea94aabb51510a989f9202ed0b8671f3dbb74b Reviewed-on: https://galileo.mailstation.de/gerrit/8411 Reviewed-by: Timo Gurr <tgurr@exherbo.org>
-rw-r--r--packages/sci-libs/fftw/fftw-3.3.6_p1.exheres-0 (renamed from packages/sci-libs/fftw/fftw-3.3.4-r3.exheres-0)0
-rw-r--r--packages/sci-libs/fftw/fftw.exlib17
2 files changed, 13 insertions, 4 deletions
diff --git a/packages/sci-libs/fftw/fftw-3.3.4-r3.exheres-0 b/packages/sci-libs/fftw/fftw-3.3.6_p1.exheres-0
index 509db96..509db96 100644
--- a/packages/sci-libs/fftw/fftw-3.3.4-r3.exheres-0
+++ b/packages/sci-libs/fftw/fftw-3.3.6_p1.exheres-0
diff --git a/packages/sci-libs/fftw/fftw.exlib b/packages/sci-libs/fftw/fftw.exlib
index 5ec8d31..7622744 100644
--- a/packages/sci-libs/fftw/fftw.exlib
+++ b/packages/sci-libs/fftw/fftw.exlib
@@ -3,6 +3,8 @@
# Copyright 2009, 2015 Thomas G. Anderson <tanderson@caltech.edu>
# Distributed under the terms of the GNU General Public License v2
+MY_PNV=${PN}-${PV/_p/-pl}
+
export_exlib_phases src_test_expensive src_prepare src_configure src_compile src_install
SUMMARY="FFTW is a C subroutine library for computing the discrete Fourier transform"
@@ -19,7 +21,9 @@ will perform well on most architectures without modification. Hence the name,
Transform in the West.\"
"
HOMEPAGE="http://www.fftw.org"
-DOWNLOADS="${HOMEPAGE}/${PNV}.tar.gz"
+DOWNLOADS="${HOMEPAGE}/${MY_PNV}.tar.gz"
+
+BUGS_TO="tanderson@caltech.edu"
UPSTREAM_DOCUMENTATION="${HOMEPAGE}/faq [[ lang = en description = FAQ ]]"
UPSTREAM_RELEASE_NOTES="${HOMEPAGE}/release-notes.html [[ lang = en ]]"
@@ -31,11 +35,10 @@ MYOPTIONS="
quadmath [[ description = [ Add support for quadruple-precision arithmetic libraries ] ]]
(
platform: amd64 x86
- amd64_cpu_features: avx
- x86_cpu_features: avx sse2
+ amd64_cpu_features: avx avx2 avx512
+ x86_cpu_features: avx avx2 avx512 sse2
)
"
-BUGS_TO="tanderson@caltech.edu"
RESTRICT="test"
@@ -49,6 +52,7 @@ DEPENDENCIES="
quadmath? ( sys-libs/libquadmath:= )
"
+WORK=${WORKBASE}/${MY_PNV}
ECONF_SOURCE="${WORK}"
changesrcdir() {
@@ -67,6 +71,7 @@ fftw_src_configure() {
local myconf=(
--enable-shared
--enable-threads
+ --disable-doc
--disable-static
$(option_enable fortran)
$(option_enable openmp)
@@ -81,11 +86,15 @@ fftw_src_configure() {
my_singledouble_conf+=(
--enable-sse2
$(option_enable amd64_cpu_features:avx)
+ $(option_enable amd64_cpu_features:avx2)
+ $(option_enable amd64_cpu_features:avx512)
)
elif option platform:x86 ; then
my_singledouble_conf+=(
$(option_enable x86_cpu_features:sse2)
$(option_enable x86_cpu_features:avx)
+ $(option_enable x86_cpu_features:avx2)
+ $(option_enable x86_cpu_features:avx512)
)
fi