[127585] trunk/dports/science/abinit/Portfile

dstrubbe at macports.org dstrubbe at macports.org
Wed Oct 29 20:32:32 PDT 2014


Revision: 127585
          https://trac.macports.org/changeset/127585
Author:   dstrubbe at macports.org
Date:     2014-10-29 20:32:32 -0700 (Wed, 29 Oct 2014)
Log Message:
-----------
abinit: Enabling test phase. fftw3 variant depends on fftw-3-single and needs to link it.

Modified Paths:
--------------
    trunk/dports/science/abinit/Portfile

Modified: trunk/dports/science/abinit/Portfile
===================================================================
--- trunk/dports/science/abinit/Portfile	2014-10-29 22:32:44 UTC (rev 127584)
+++ trunk/dports/science/abinit/Portfile	2014-10-30 03:32:32 UTC (rev 127585)
@@ -191,9 +191,9 @@
 #universal variant not allowed for libxc/etsf_io
 universal_variant   no
 
-# FIXME: this does not work.
-# test.run            yes
-# test.target         check-full
+test.run            yes
+test.cmd            tests/runtests.py
+test.target         built-in fast
 
 variant gcc46 conflicts gcc47 gcc48 openmpi mpich description {Build with GCC 4.6} {
     configure.compiler  macports-gcc-4.6
@@ -233,13 +233,15 @@
 }
 
 variant fftw3 description {Build with support for fftw-3 FFT library} {
+    # FIXME: these need to be installed with some Fortran variant
     depends_lib-append      port:fftw-3
+    depends_lib-append      port:fftw-3-single
     if { [variant_isset threads] } {
         configure.args-append   --with-fft-flavor="fftw3-threads"
-        configure.args-append   --with-fft-libs="-lfftw3_threads -lfftw3"
+        configure.args-append   --with-fft-libs="-lfftw3_threads -lfftw3 -lfftw3f"
     } else {
         configure.args-append   --with-fft-flavor="fftw3"
-        configure.args-append   --with-fft-libs="-lfftw3"
+        configure.args-append   --with-fft-libs="-lfftw3 -lfftw3f"
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141029/9dbf428b/attachment.html>


More information about the macports-changes mailing list