This disables OpenMP code generation.  Note that fftw uses either
pthreads or OpenMP (or both) to control multi processors and
this is always under programmer control.


--John

Index: Makefile
===================================================================
RCS file: /cvs/ports/math/fftw/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile    11 Mar 2016 19:59:15 -0000      1.22
+++ Makefile    24 Jun 2019 23:58:50 -0000
@@ -5,7 +5,7 @@ PORTROACH=      limit:^2\.
 COMMENT=       C routines for computing the Discrete Fourier Transform
 
 DISTNAME=      fftw-2.1.5
-REVISION=      3
+REVISION=      4
 SHARED_LIBS=   fftw    2.7 \
                rfftw   2.7
 CATEGORIES=    math
@@ -23,6 +23,7 @@ MASTER_SITES= http://fftw.org/ \
 
 CONFIGURE_STYLE=       gnu
 
+CONFIGURE_ARGS+=       --disable-openmp
 .if ${MACHINE_ARCH} == "i386"
 CONFIGURE_ARGS+=       --enable-i386-hacks
 PATCH_LIST=            gcc-* patch-*

Reply via email to