[148852] trunk/dports/_resources/port1.0/group/linear_algebra-1.0.tcl
Revision: 148852 https://trac.macports.org/changeset/148852 Author: dstrubbe@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." +}
participants (1)
-
dstrubbe@macports.org