[MacPorts] #40716: METIS portfile errors
MacPorts
noreply at macports.org
Wed Oct 9 14:30:41 PDT 2013
#40716: METIS portfile errors
------------------------+--------------------------------
Reporter: jcverle@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: metis |
------------------------+--------------------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
* port: => metis
Comment:
Replying to [ticket:40716 jcverle@…]:
> In looking at the METIS Portfile, I noticed a some errors. First, the
license is not correct. METIS is released under the Apache License,
Version 2.0 (the Portfile has it listed as "Restrictive").
Confirmed; the license field was added in r84527 at which time it had a
more restrictive license. Fixed license in r112022.
> Second, an openmpi variant is listed. METIS does not have an MPI
variant; ParMETIS (which is a new port) is the MPI version of METIS. METIS
does have support for OpenMP, though I think it requires downloading of a
separate tarball. I have never used that capability, personally, so I
can't speak to how it would be implemented in the Portfile.
The openmpi variant was requested and provided in #35018 and committed in
r94816. I don't know any more about it.
> Finally, it appears the Portfile does not specify a compiler. I believe
that, in that mode, CMake uses whatever compiler it finds first.
MacPorts chooses a default compiler based on the Xcode version. Most ports
should not override this choice. It is possible that the use of openmpi
constitutes a valid exception to this rule but I don't know.
> I would like to start using METIS, but I would like to have some control
over which compiler it uses. (Admittedly, it probably does not matter in a
big way, since METIS is straight C code, but I would at least like to know
which compiler is being used.)
You can find that out by running "`sudo port -s install metis`" and
looking for the line that says "Using compiler". As of Xcode 4.2, the
default compiler is clang. Most ports respect this setting; if a port
doesn't, it's a bug.
> I would be willing to help maintain this port (I made the same offer to
the ParMETIS port), but I am a complete novice when it comes to Portfiles.
--
Ticket URL: <https://trac.macports.org/ticket/40716#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list