summaryrefslogtreecommitdiff
path: root/math/fftw3/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/fftw3/files')
-rw-r--r--math/fftw3/files/extrapatch-tests_fftw-bench.c5
-rw-r--r--math/fftw3/files/patch-configure10
2 files changed, 8 insertions, 7 deletions
diff --git a/math/fftw3/files/extrapatch-tests_fftw-bench.c b/math/fftw3/files/extrapatch-tests_fftw-bench.c
index 4fc77df82dfe..fd6c909683f2 100644
--- a/math/fftw3/files/extrapatch-tests_fftw-bench.c
+++ b/math/fftw3/files/extrapatch-tests_fftw-bench.c
@@ -1,10 +1,11 @@
Fix regression tests when OPENMP option is enabled.
---- tests/fftw-bench.c.orig 2016-10-25 22:27:48 UTC
+--- tests/fftw-bench.c.orig 2020-12-10 12:02:44 UTC
+++ tests/fftw-bench.c
-@@ -110,7 +110,6 @@ void rdwisdom(void)
+@@ -125,8 +125,6 @@ void rdwisdom(void)
if (threads_ok) {
BENCH_ASSERT(FFTW(init_threads)());
FFTW(plan_with_nthreads)(nthreads);
+- BENCH_ASSERT(FFTW(planner_nthreads)() == nthreads);
- FFTW(make_planner_thread_safe)();
#ifdef _OPENMP
omp_set_num_threads(nthreads);
diff --git a/math/fftw3/files/patch-configure b/math/fftw3/files/patch-configure
index 1bc428a294fc..dab230ed959a 100644
--- a/math/fftw3/files/patch-configure
+++ b/math/fftw3/files/patch-configure
@@ -1,11 +1,11 @@
---- configure.orig 2016-07-30 20:34:50 UTC
+--- configure.orig 2020-12-30 00:12:14 UTC
+++ configure
-@@ -14397,7 +14397,7 @@ fi
+@@ -14937,7 +14937,7 @@ fi
esac
case "${ax_cv_c_compiler_vendor}" in
- gnu|intel)
+ gnu|intel|clang)
- # SSE/SSE2
- if test "$have_sse2" = "yes" -a "x$SSE2_CFLAGS" = x; then
- if test "$PRECISION" = d; then flag=msse2; else flag=msse; fi
+ # SSE/SSE2
+ if test "$have_sse2" = "yes" -a "x$SSE2_CFLAGS" = x; then
+ if test "$PRECISION" = d; then flag=msse2; else flag=msse; fi