mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/polymake to 3.4-3
This commit is contained in:
parent
3f72dd05fa
commit
949c069e09
1 changed files with 3 additions and 2 deletions
|
@ -11,12 +11,12 @@ _pkgver=3.4
|
|||
_patchver=
|
||||
#pkgver=$_pkgver.r$_patchver
|
||||
pkgver=$_pkgver
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Open source software for research in polyhedral geometry"
|
||||
arch=(x86_64)
|
||||
url="https://polymake.org/"
|
||||
license=(GPL)
|
||||
depends=(mpfr normaliz singular ppl lrs perl-xml-writer perl-xml-libxml perl-xml-libxslt perl-term-readline-gnu perl-term-readkey perl-json)
|
||||
depends=(normaliz singular ppl lrs perl-xml-writer perl-xml-libxml perl-xml-libxslt perl-term-readline-gnu perl-term-readkey perl-json)
|
||||
makedepends=(ninja cddlib ant boost bliss libnsl jdk8-openjdk)
|
||||
optdepends=('java-runtime: java module')
|
||||
source=("https://polymake.org/lib/exe/fetch.php/download/polymake-${_pkgver}-minimal.tar.bz2")
|
||||
|
@ -24,6 +24,7 @@ sha256sums=('f4ddfd8275b5b9fbf953e6b24f707d00081a1a6d32ac0e6a52165d016609b1e8')
|
|||
|
||||
build() {
|
||||
cd polymake-$_pkgver
|
||||
export CXXFLAGS+=' -DENFNORMALIZ' # Workaround https://github.com/Normaliz/Normaliz/issues/222
|
||||
LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
||||
./configure --prefix=/usr CXXOPT="-O1"
|
||||
make -j2
|
||||
|
|
Loading…
Reference in a new issue