[116366] trunk/dports/devel/boost/Portfile
sean at macports.org
sean at macports.org
Thu Jan 23 12:13:59 PST 2014
Revision: 116366
https://trac.macports.org/changeset/116366
Author: sean at macports.org
Date: 2014-01-23 12:13:59 -0800 (Thu, 23 Jan 2014)
Log Message:
-----------
boost: use mpi portgroup
Modified Paths:
--------------
trunk/dports/devel/boost/Portfile
Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile 2014-01-23 20:13:56 UTC (rev 116365)
+++ trunk/dports/devel/boost/Portfile 2014-01-23 20:13:59 UTC (rev 116366)
@@ -3,9 +3,14 @@
PortSystem 1.0
PortGroup compiler_blacklist_versions 1.0
+PortGroup mpi 1.0
+mpi.choose
+mpi.setup
+
name boost
version 1.55.0
+version 1
license Boost-1
categories devel
platforms darwin
@@ -229,17 +234,19 @@
build.args-append threading=multi
}
-variant openmpi conflicts debug description {Build Boost.MPI} {
+if {[mpi_variant_isset]} {
# There is a conflict with debug support.
# The issue has been reported to both the MacPorts team and the boost team, as per:
# <http://trac.macports.org/ticket/23667> and <https://svn.boost.org/trac/boost/ticket/4461>
+ if {[variant_isset debug]} {
+ return -code error "+debug variant conflicts with mpi"
+ }
- depends_lib-append port:openmpi
configure.args-delete --without-libraries=mpi
post-configure {
- write_jam "using mpi : ${prefix}/bin/openmpic++ : : ${prefix}/bin/openmpirun ;"
+ write_jam "using mpi : ${mpi.cxx} : : ${mpi.exec} ;"
}
if {![catch python_dir]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140123/ffa5367c/attachment-0001.html>
More information about the macports-changes
mailing list