[92247] trunk/dports/math/fftw-3/Portfile

takeshi at macports.org takeshi at macports.org
Sun Apr 22 13:38:11 PDT 2012


Revision: 92247
          https://trac.macports.org/changeset/92247
Author:   takeshi at macports.org
Date:     2012-04-22 13:38:10 -0700 (Sun, 22 Apr 2012)
Log Message:
-----------
fftw-3: add openmpi and mpich2 variants. closes #34148

Modified Paths:
--------------
    trunk/dports/math/fftw-3/Portfile

Modified: trunk/dports/math/fftw-3/Portfile
===================================================================
--- trunk/dports/math/fftw-3/Portfile	2012-04-22 20:12:03 UTC (rev 92246)
+++ trunk/dports/math/fftw-3/Portfile	2012-04-22 20:38:10 UTC (rev 92247)
@@ -158,6 +158,18 @@
     }
 }
 
+variant openmpi description {compile FFTW MPI library with OpenMPI} {
+    depends_lib-append      port:openmpi
+    configure.env           MPICC=${prefix}/lib/openmpi/bin/mpicc
+    configure.args-append   --enable-mpi
+}
+
+variant mpich2 description {compile FFTW MPI library with MPICH2} {
+    depends_lib-append      port:mpich2
+    configure.env           MPICC=${prefix}/bin/mpicc
+    configure.args-append   --enable-mpi
+}
+
 livecheck.type  regex
 livecheck.url   ${homepage}
 livecheck.regex {FFTW (\d+(?:\.\d+)*) is the latest}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120422/56ad6864/attachment.html>


More information about the macports-changes mailing list