SHA256
1
0
forked from pool/polymake

- Update to release 4.8

OBS-URL: https://build.opensuse.org/package/show/science/polymake?expand=0&rev=22
This commit is contained in:
Jan Engelhardt 2023-01-30 11:46:01 +00:00 committed by Git OBS Bridge
parent 5e1ded600b
commit 0e59584c97
5 changed files with 19 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:08465f61bc03a13fc18704ede488b09eea2911812cd88efb392b3bc2f299058b
size 47458115

3
V4.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6796e658e82d252d1db836ca5c48e2d63ab2ab0335168d76fae5e96529aa850c
size 47474674

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Dec 20 23:49:39 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 4.8
* plantri: introduce interface to plantri for generation of
planar graphs.
* pluecker_ideal changed to c++ client
* add tropical median
- Drop vertices-31.patch (merged)
-------------------------------------------------------------------
Sat Nov 19 00:54:38 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package polymake
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,9 +16,9 @@
#
%define lname libpolymake4_7
%define lname libpolymake4_8
Name: polymake
Version: 4.7
Version: 4.8
Release: 0
Summary: Application for studying combinatorics and geometry of convex polytopes
License: GPL-2.0-or-later
@ -28,7 +28,6 @@ URL: https://polymake.org/
Source: https://github.com/polymake/polymake/archive/V%version.tar.gz
Source9: %name-rpmlintrc
Patch2: sympol-system.patch
Patch3: vertices-31.patch
BuildRequires: bliss-devel
BuildRequires: cddlib-devel
BuildRequires: flint-devel
@ -85,7 +84,9 @@ objects, and other objects.
%autosetup -p1
%build
# Not AC.
# force using system libnormaliz
rm -rf bundled/libnormaliz/external
# It's not autoconf.
./configure --prefix="%_prefix" --libdir="%_libdir" \
--libexecdir="%_libdir/%name-%version" --without-native \
--with-bliss="%_prefix" --with-sympol="%_prefix" --with-cdd="%_prefix" \

View File

@ -1,17 +0,0 @@
Resolve a build failure on ILP32.
References: https://gist.github.com/benlorenz/76b0cc37e332943e0129e1e922a1b577
Index: polymake-4.7/apps/topaz/include/grass_plucker.h
===================================================================
--- polymake-4.7.orig/apps/topaz/include/grass_plucker.h
+++ polymake-4.7/apps/topaz/include/grass_plucker.h
@@ -122,7 +122,7 @@ using CubeIndex = NamedType<Int, CubeInd
inline constexpr Int max_n_vertices(31);
inline constexpr Int first_cube_index(Int(1) << max_n_vertices);
*/
-#define max_n_vertices 31
+#define max_n_vertices ((Int) sizeof(Int)*4-1)
#define first_cube_index (CubeIndex(Int(1) << (2*max_n_vertices)))
#define MAGIC_VERTEX_MULTIPLE 256