[148852] trunk/dports/_resources/port1.0/group/linear_algebra-1.0.tcl
dstrubbe at macports.org
dstrubbe at macports.org
Thu May 19 18:12:51 PDT 2016
Revision: 148852
https://trac.macports.org/changeset/148852
Author: dstrubbe at macports.org
Date: 2016-05-19 18:12:51 -0700 (Thu, 19 May 2016)
Log Message:
-----------
linear_algebra port group: Ensure one of the variants is selected. Remove comment about a fix that has been done.
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/linear_algebra-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/linear_algebra-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/linear_algebra-1.0.tcl 2016-05-20 01:11:55 UTC (rev 148851)
+++ trunk/dports/_resources/port1.0/group/linear_algebra-1.0.tcl 2016-05-20 01:12:51 UTC (rev 148852)
@@ -47,7 +47,6 @@
# scalapack.
# vecLibFort only needed if calling Accelerate from Fortran.
-# enforcing +lapack for OpenBLAS can be optional.
PortGroup active_variants 1.1
@@ -92,3 +91,8 @@
}
set linalglib -lopenblas
}
+
+if {![variant_isset accelerate] && ![variant_isset openblas] && ![variant_isset atlas] } {
+ ui_error "You must select either the +accelerate, +atlas, or +openblas variant for linear algebra."
+ return -code error "No linear-algebra variant selected."
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160519/d03434d1/attachment.html>
More information about the macports-changes
mailing list