Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/
Date: Sun, 30 Jan 2022 22:54:53
Message-Id: 1643583217.67c311a021cd0fd8eb6d4b950357f658f97691d4.mjo@gentoo
1 commit: 67c311a021cd0fd8eb6d4b950357f658f97691d4
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 22:53:17 2022 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 30 22:53:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c311a0
7
8 sci-mathematics/polymake: new upstream release polymake-4.6.
9
10 Standard version bump, and we now explicitly disable OpenMP. The
11 upstream pseudo-configure script tries to append -fopenmp to *FLAGS
12 otherwise, causing build failures with non-OpenMP toolchains. OpenMP
13 is used minimally by polymake itself; the real application is to its
14 bundled libraries (that we unbundle).
15
16 Closes: https://bugs.gentoo.org/832101
17 Package-Manager: Portage-3.0.30, Repoman-3.0.3
18 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
19
20 sci-mathematics/polymake/Manifest | 2 +-
21 .../polymake/{polymake-4.5.ebuild => polymake-4.6.ebuild} | 10 +++++++---
22 2 files changed, 8 insertions(+), 4 deletions(-)
23
24 diff --git a/sci-mathematics/polymake/Manifest b/sci-mathematics/polymake/Manifest
25 index 913e6a1540b0..2405e7d77aa0 100644
26 --- a/sci-mathematics/polymake/Manifest
27 +++ b/sci-mathematics/polymake/Manifest
28 @@ -1 +1 @@
29 -DIST polymake-4.5-minimal.tar.bz2 5634046 BLAKE2B dc8a10885b23f8c690e9b8e36d6b55193bbc6d77d56c3b2facea70221860c33d2df58a8a693b9d43c0f613962ce2bd1b3258f1a558af8335297092a60876054a SHA512 07fcc9c20c4e48fc6d83845c50c12b2cadeaf55f74619985d21e252970ad76d6ee8cc528cd419e71ed5927d83758e5d6862e41c1610f93ea95127ad9115a333b
30 +DIST polymake-4.6-minimal.tar.bz2 5634651 BLAKE2B 6ee24fa6e70fdf746ea298d78e21e17fe38c5837ae2d3153e53656b4b003555b06897f463220b59474eed1111135dfa61c080d08d6363391afca51011f331122 SHA512 90f04c67bf297fb1b9f5a51d1654ff12385860b1fc80278a8b47f65970f11a1e0f33ede8a839b54a12422e772c8b76302ff78cc467712a2486f6e76ce0d5ab20
31
32 diff --git a/sci-mathematics/polymake/polymake-4.5.ebuild b/sci-mathematics/polymake/polymake-4.6.ebuild
33 similarity index 91%
34 rename from sci-mathematics/polymake/polymake-4.5.ebuild
35 rename to sci-mathematics/polymake/polymake-4.6.ebuild
36 index 750cfef6a60f..e82e8fe3f95b 100644
37 --- a/sci-mathematics/polymake/polymake-4.5.ebuild
38 +++ b/sci-mathematics/polymake/polymake-4.6.ebuild
39 @@ -1,4 +1,4 @@
40 -# Copyright 1999-2021 Gentoo Authors
41 +# Copyright 1999-2022 Gentoo Authors
42 # Distributed under the terms of the GNU General Public License v2
43
44 EAPI=8
45 @@ -60,7 +60,7 @@ RESTRICT=test
46 src_configure() {
47 # Without this, the build system tries to use "the highest possible"
48 # optimization level and will override what's in your CXXFLAGS.
49 - export CXXOPT=$(get-flag -O)
50 + export CXXOPT=""
51
52 tc-export CC CXX
53
54 @@ -71,7 +71,10 @@ src_configure() {
55 use bliss && append-cxxflags -DBLISS_USE_GMP
56
57 # This isn't an autotools ./configure script, so a lot of things
58 - # don't work the way you'd expect.
59 + # don't work the way you'd expect. We disable openmp unconditionally
60 + # because it's only supposedly only used for building the bundled
61 + # libnormaliz (we unbundle it) and for something called to_simplex
62 + # that I can't find anywhere in the polymake source.
63 ./configure --prefix="${EPREFIX}/usr" \
64 --libdir="${EPREFIX}/usr/$(get_libdir)" \
65 --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \
66 @@ -81,6 +84,7 @@ src_configure() {
67 --without-native \
68 --without-scip \
69 --without-soplex \
70 + --without-openmp \
71 $(use_with bliss bliss "${EPREFIX}/usr") \
72 $(use_with cdd cdd "${EPREFIX}/usr") \
73 $(use_with flint flint "${EPREFIX}/usr") \