[144293] trunk/dports/math/petsc/Portfile

sean at macports.org sean at macports.org
Tue Jan 5 17:13:38 PST 2016


Revision: 144293
          https://trac.macports.org/changeset/144293
Author:   sean at macports.org
Date:     2016-01-05 17:13:38 -0800 (Tue, 05 Jan 2016)
Log Message:
-----------
petsc: add variant for sprng; fixes #47330

Modified Paths:
--------------
    trunk/dports/math/petsc/Portfile

Modified: trunk/dports/math/petsc/Portfile
===================================================================
--- trunk/dports/math/petsc/Portfile	2016-01-06 01:13:36 UTC (rev 144292)
+++ trunk/dports/math/petsc/Portfile	2016-01-06 01:13:38 UTC (rev 144293)
@@ -196,6 +196,12 @@
     configure.args-append --with-valgrind-dir=${prefix}
 }
 
+variant sprng description {Build with SPRNG interface for a sparse random number generator} {
+    depends_lib-append    port:sprng
+    configure.args-append --with-sprng-dir=${prefix}
+    mpi.enforce_variant   sprng
+}
+
 variant debug description {Build with debug support} {
     configure.args-delete --with-debugging=0
     configure.args-append --with-debugging=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160105/3bf6e7b6/attachment.html>


More information about the macports-changes mailing list