Closed mkoeppe closed 8 years ago
Description changed:
---
+++
@@ -1 +1,4 @@
http://cgm.cs.mcgill.ca/~avis/C/lrs.html
+
+Polymake (#20892) seems to need the shared library.
+
Description changed:
---
+++
@@ -2,3 +2,4 @@
Polymake (#20892) seems to need the shared library.
+upstream tarball: http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-062.tar.gz
Thanks for the tarball location. I think I made the patch for last version from here: https://github.com/mkoeppe/lrslib
Description changed:
---
+++
@@ -3,3 +3,5 @@
Polymake (#20892) seems to need the shared library.
upstream tarball: http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-062.tar.gz
+
+Autoconfiscated, builds shared libs: https://github.com/mkoeppe/lrslib/tree/autoconfiscation
Though lrs
would still be an optional package (I think it is currently)?
The 'lrs' package was renamed to 'lrslib' while transitioning to new-style packages (#18127). 'lrslib' installs both the library and the executables.
Upstream: Not yet reported upstream; Will do shortly.
Description changed:
---
+++
@@ -1,7 +1,7 @@
-http://cgm.cs.mcgill.ca/~avis/C/lrs.html
+This ticket upgrades lrslib to version 6.2. This version, according to http://cgm.cs.mcgill.ca/~avis/C/lrs.html, has the following new features:
+- (new in 6.0) mplrs: C wrapper for lrs that allows for parallelization on clusters of machines and uses the MPI library quickstart
+- (major revision in 6.1) lrsnash, 2nash: Computes all Nash equlibria of a two person non-cooperative game. 2nash is a 2-processor parallel version
-Polymake (#20892) seems to need the shared library.
+Since Polymake (#20892) seems to need the shared library of lrslib, but lrslib uses a hand-written makefile that does not work on Mac OS X, I have added an autotools build system. It is available here: https://github.com/mkoeppe/lrslib/tree/autoconfiscation
-upstream tarball: http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-062.tar.gz
-
-Autoconfiscated, builds shared libs: https://github.com/mkoeppe/lrslib/tree/autoconfiscation
+"Upstream" URL: https://github.com/mkoeppe/lrslib/archive/lrslib-062+autotools-2016-06-28.tar.gz
When you do this, be sure to test all the game theory stuff with the optional package. Do they need renaming? I don't think I even knew about this renaming to lib.
The renaming was done in #18127, and at that time some "#optional" tests had to be adjusted.
Awesome.
Branch pushed to git repo; I updated commit sha1. New commits:
bb8b740 | Adjust scripts |
Needs testing (especially on non-Mac OS X).
Author: Matthias Koeppe
Reviewer: Karl-Dieter Crisman
Changed reviewer from Karl-Dieter Crisman to none
I tried to use the link on the ticket for the upstream tarball, and there seems to be a checksum difference (in addition to the file name being wrong).
Description changed:
---
+++
@@ -4,4 +4,5 @@
Since Polymake (#20892) seems to need the shared library of lrslib, but lrslib uses a hand-written makefile that does not work on Mac OS X, I have added an autotools build system. It is available here: https://github.com/mkoeppe/lrslib/tree/autoconfiscation
-"Upstream" URL: https://github.com/mkoeppe/lrslib/archive/lrslib-062+autotools-2016-06-28.tar.gz
+"Upstream" URL: https://github.com/mkoeppe/lrslib/releases/download/lrslib-062%2Bautotools-2016-06-28a/lrslib-062.autotools-2016-06-28a.tar.gz
+Download and put into upstream under the name "lrslib-062+autotools-2016-06-28a.tar.gz"
Sorry, I had forgotten to update the link.
Thanks (though the tarball have a .
instead of a +
in the name). However, this failed to build for me with Ubuntu 14.04 LTS due to it not finding boost:
[lrslib-062+autotools-2016-06-28a] /usr/bin/ld: cannot find -lboost_thread
[lrslib-062+autotools-2016-06-28a] /usr/bin/ld: cannot find -lboost_system
Does this need the full version of boost or is Sage's stripped down version sufficient? FYI - I don't have a system-wide install of boost.
Also, to that effect, we should add a dependencies
file.
It looks like I need to improve the configure script to detect that boost_thread and boost_system are missing.
Please try with the full boost package, this is what I installed. I'll add it to dependencies.
Branch pushed to git repo; I updated commit sha1. New commits:
e96fab2 | Add dependencies |
Replying to @mkoeppe:
It looks like I need to improve the configure script to detect that boost_thread and boost_system are missing.
Please try with the full boost package, this is what I installed.
That's annoying, considering we didn't need that before. Is there any possibility of an lrs which doesn't require the full boost?
I would somewhat hope there could be a way to link it to the cropped version of boost we ship with Sage. I could not test if this would link to the systemwide boost or would just force an install of the full Sage spkg boost. However, this worked without any trouble for me on my Ubuntu machine (which also installed boost).
Changed keywords from none to days78
Description changed:
---
+++
@@ -4,5 +4,5 @@
Since Polymake (#20892) seems to need the shared library of lrslib, but lrslib uses a hand-written makefile that does not work on Mac OS X, I have added an autotools build system. It is available here: https://github.com/mkoeppe/lrslib/tree/autoconfiscation
-"Upstream" URL: https://github.com/mkoeppe/lrslib/releases/download/lrslib-062%2Bautotools-2016-06-28a/lrslib-062.autotools-2016-06-28a.tar.gz
-Download and put into upstream under the name "lrslib-062+autotools-2016-06-28a.tar.gz"
+"Upstream" URL: https://github.com/mkoeppe/lrslib/releases/download/lrslib-062%2Bautotools-2016-06-28a/lrslib-062.autotools-2016-07-05.tar.gz
+Download and put into upstream under the name "lrslib-062+autotools-2016-07-05.tar.gz"
Changed upstream from Not yet reported upstream; Will do shortly. to Reported upstream. No feedback yet.
I've updated the package's configure script so it detects whether the full boost is available.
If so, it builds one additional binary, plrs
, which is not used by current Sage.
Thank you. I think, which is why I've cc-ed Jeroen and Volker if one of them could confirm, that the correct way to do the dependencies file is to use $(MP_LIBRARY)
. Once that is done, I think we can set this to a positive review.
Reviewer: Travis Scrimshaw
Make it so
Branch pushed to git repo; I updated commit sha1. New commits:
8b3ad56 | lrslib: Fix up dependencies |
Description changed:
---
+++
@@ -4,5 +4,5 @@
Since Polymake (#20892) seems to need the shared library of lrslib, but lrslib uses a hand-written makefile that does not work on Mac OS X, I have added an autotools build system. It is available here: https://github.com/mkoeppe/lrslib/tree/autoconfiscation
-"Upstream" URL: https://github.com/mkoeppe/lrslib/releases/download/lrslib-062%2Bautotools-2016-06-28a/lrslib-062.autotools-2016-07-05.tar.gz
+"Upstream" URL: https://github.com/mkoeppe/lrslib/releases/download/lrslib-062%2Bautotools-2016-07-05/lrslib-062.autotools-2016-07-05.tar.gz
Download and put into upstream under the name "lrslib-062+autotools-2016-07-05.tar.gz"
This looks good to me now; thanks.
Note to Volker, you will have to rename the tarball when you put it on the server.
Thanks for reviewing, Travis!
Follow-up:
lrsnash
, 2nash
This ticket upgrades lrslib to version 6.2. This version, according to http://cgm.cs.mcgill.ca/~avis/C/lrs.html, has the following new features:
Since Polymake (#20892) seems to need the shared library of lrslib, but lrslib uses a hand-written makefile that does not work on Mac OS X, I have added an autotools build system. It is available here: https://github.com/mkoeppe/lrslib/tree/autoconfiscation
"Upstream" URL: https://github.com/mkoeppe/lrslib/releases/download/lrslib-062%2Bautotools-2016-07-05/lrslib-062.autotools-2016-07-05.tar.gz Download and put into upstream under the name "lrslib-062+autotools-2016-07-05.tar.gz"
Upstream: Reported upstream. No feedback yet.
CC: @dimpase @videlec @mkoeppe @fchapoton @kiwifb @tscrim @drvinceknight @theref @vbraun @jdemeyer
Component: packages: optional
Keywords: days78
Author: Matthias Koeppe
Branch/Commit:
8b3ad56
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/20886