#43101 closed submission (fixed)
coinor-liblemon: New port for the LEMON Library
Reported by: | tre@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | kurthindenburg (Kurt Hindenburg) | |
Port: | coinor-liblemon |
Description
Hi,
I would like to add a new port named coinor-liblemon (analogously to the Coin-OR Debian packages) for the LEMON graph library, see http://lemon.cs.elte.hu
The library is a static C++ library using cmake and licensed under Boost. I successfully tested it under Lion and Mavericks.
Thanks in advance, David
Attachments (3)
Change History (17)
Changed 11 years ago by tre@…
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | New port for the LEMON Library → coinor-liblemon: New port for the LEMON Library |
---|
Changed 11 years ago by tre@…
Attachment: | Portfile.2 added |
---|
comment:2 Changed 11 years ago by tre@…
Hi Ryan,
thanks for your hints. I cleaned it up accordingly. However, the gcc dependency seems to be mandatory for 2 reasons:
- the latest 1.3 release of LEMON won't compile with clang++ due to some flaws in the sources, e.g. I saw some missing typenames in template constructs etc.
- I created the LEMON port as the latest seqan-apps port depends on it. seqan-apps also depends on g++ as it relies on OpenMP for multithreading.
I'm optimistic that the LEMON developers will fix the clang++ compilation issues in the future. However seqan-apps won't lose its g++ dependency before Apple's clang++ supports OpenMP. :-(
Regards, David
Changed 11 years ago by david.weese@…
Attachment: | Portfile.3 added |
---|
comment:5 Changed 11 years ago by david.weese@…
I just replaced the "configure.compiler" entry by blacklisting clang as it causes compiler problems (read above).
David
comment:6 Changed 11 years ago by david.weese@…
Hi there,
Can anyone of the MacPorts team please have a look at my final Portfile so that it can be eventually published?
Cheers, David
comment:9 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
OK I'll see if I can this to work
comment:10 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:11 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
It builds fine on my local Mavericks - not sure why the build bot failed
The C compiler "/opt/local/bin/llvm-gcc-4.2" is not able to compile a simple test program. It fails with the following output: Change Dir: /opt/local/var/macports/build/_opt_mports_dports_science_coinor-liblemon/coinor-liblemon/work/lemon-1.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTryCompileExec2293057106/fast" /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2293057106.dir/build.make CMakeFiles/cmTryCompileExec2293057106.dir/build
comment:12 Changed 10 years ago by david.weese@…
Hi,
that error seems to be unrelated to the coinor port. it seems that the C compiler is not available at /opt/local/bin/llvm-gcc-4.2 or broken. Cmake uses the CC environment variable to set the path for the C compiler. Can you check that the variable is set appropriately on the test system.
Cheers, Dave
comment:13 Changed 10 years ago by david.weese@…
What is the status here? Does "closed submission: fixed" mean that the port is available now?
comment:14 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
Yes, it is in ports now since comment:11
port search coinor-liblemon [22:34:26] coinor-liblemon @1.3 (science) Library of Efficient Models and Optimization in Networks
Some observations: