[MacPorts] #44455: openmpi: Optionally disable hwloc requirement
MacPorts
noreply at macports.org
Sun Jul 27 03:04:19 PDT 2014
#44455: openmpi: Optionally disable hwloc requirement
-----------------------------+--------------------------------
Reporter: michael-lists@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Keywords: | Port: openmpi
-----------------------------+--------------------------------
I'd like to be able to disable the hwloc dependencies of openmpi. Some
code I have does not properly work with hwloc-enabled OpenMPI for some
reason.
Below is a patch that adds a variant ''nohwloc''
{{{
--- /Users/admin/Desktop/openmpi 2014-07-23 04:30:14.000000000
+0200
+++
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/science/openmpi/Portfile
2014-07-27 11:30:19.000000000 +0200
@@ -309,6 +309,11 @@
depends_lib-append
path:${prefix}/lib/pkgconfig/valgrind.pc:valgrind
configure.args-append --enable-debug --enable-memchecker --with-
valgrind=${prefix}
}
+
+ variant nohwloc description {disable hwloc requirement} {
+ configure.args-append --without-hwloc
+ depends_lib-delete port:hwloc
+ }
} else {
depends_lib-append port:$name-default
}}}
--
Ticket URL: <https://trac.macports.org/ticket/44455>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list