[148839] trunk/dports/science/berkeleygw/Portfile
dstrubbe at macports.org
dstrubbe at macports.org
Thu May 19 14:10:40 PDT 2016
Revision: 148839
https://trac.macports.org/changeset/148839
Author: dstrubbe at macports.org
Date: 2016-05-19 14:10:40 -0700 (Thu, 19 May 2016)
Log Message:
-----------
berkeleygw: Use new linear_algebra port group.
Modified Paths:
--------------
trunk/dports/science/berkeleygw/Portfile
Modified: trunk/dports/science/berkeleygw/Portfile
===================================================================
--- trunk/dports/science/berkeleygw/Portfile 2016-05-19 19:37:37 UTC (rev 148838)
+++ trunk/dports/science/berkeleygw/Portfile 2016-05-19 21:10:40 UTC (rev 148839)
@@ -3,6 +3,7 @@
PortSystem 1.0
PortGroup mpi 1.0
+PortGroup linear_algebra 1.0
name berkeleygw
version 1.1-beta2
@@ -101,32 +102,9 @@
For the purposes of record-keeping and support, please register an account at www.berkeleygw.org.
}
-set lapacklib ""
-# choose one of the following for serial linear algebra
-if {![variant_isset accelerate] && ![variant_isset atlas] && ![variant_isset openblas]} {
- default_variants-append +accelerate
-}
-
-variant accelerate conflicts atlas openblas description {Build with linear algebra from built-in Accelerate framework} {
- depends_lib-append port:veclibfort
- set lapacklib -lvecLibFort
-}
-
-variant atlas conflicts accelerate openblas description {Build with linear algebra from ATLAS} {
- depends_lib-append port:atlas
- set lapacklib -lsatlas
-}
-
-variant openblas conflicts accelerate atlas description {Build with linear algebra from OpenBLAS} {
- # allow OpenBLAS-devel too
- depends_lib-append path:lib/libopenblas.dylib:OpenBLAS
- require_active_variants path:lib/libopenblas.dylib:OpenBLAS lapack
- set lapacklib -lopenblas
-}
-
pre-build {
build.args-append LINK="${configure.fc}" CC_COMP=${configure.cxx} C_COMP=${configure.cc} C_LINK=${configure.cxx} \
- LAPACKLIB="-L${prefix}/lib/ ${lapacklib}"
+ LAPACKLIB="-L${prefix}/lib/ ${linalglib}"
set mathflag ""
if {[variant_isset hdf5]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160519/53e3ef50/attachment-0001.html>
More information about the macports-changes
mailing list