summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos M. Raimundo2018-12-06 13:16:05 -0200
committerMarcos M. Raimundo2018-12-06 13:16:05 -0200
commit7d01dceb058b2b871e649a2c00789d0b79c03b7e (patch)
tree6e31b5d25e4e23e3a556edd668eb30c1972973f9
parente8a9d12ffe1bb704c46d521481628cc6977a6f80 (diff)
downloadaur-7d01dceb058b2b871e649a2c00789d0b79c03b7e.tar.gz
Update to gurobi 8.1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD16
2 files changed, 11 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2f45bf3f8fa..cfc70d5cd51 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gurobi
pkgdesc = State-of-the-art solver for mathematical programming
- pkgver = 8.0.1
- pkgrel = 2
+ pkgver = 8.1.0
+ pkgrel = 1
url = http://www.gurobi.com/products/gurobi-optimizer/gurobi-overview
install = gurobi.install
arch = x86_64
@@ -13,10 +13,10 @@ pkgbase = gurobi
optdepends = java-environment: Java programming interface support
optdepends = mono: .NET programming interface support
optdepends = matlab: MATLAB programming interface support, version 2008b onwards
- source = https://packages.gurobi.com/8.0/gurobi8.0.1_linux64.tar.gz
+ source = https://packages.gurobi.com/8.1/gurobi8.1.0_linux64.tar.gz
source = gurobi.sh
source = gurobi_setup.m
- sha256sums = 28c028b8708869c27a93edc2769b645db4906dc7c80a4d283ed6db672b587478
+ sha256sums = bf0d8369ab5fb69b2fb027c41814c8b8e6d1de32a39960aa9c52126cf15f58fa
sha256sums = 30d535f7100627195dbe8d1c9a5ce603ed645b93eb8869984eb8a15e8db6d1c8
sha256sums = fd328dc00b276258e7828b301c93574f9aa8e6f143caf5428a648851a6ecf93c
diff --git a/PKGBUILD b/PKGBUILD
index 172783620c6..c3ffe64112b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,8 @@
pkgname=('gurobi')
_basename=gurobi
-pkgver=8.0.1
-pkgrel=2
+pkgver=8.1.0
+pkgrel=1
pkgdesc="State-of-the-art solver for mathematical programming"
arch=('x86_64')
url="http://www.gurobi.com/products/gurobi-optimizer"
@@ -22,11 +22,11 @@ optdepends=(
)
source=(
# "${_basename}${pkgver}_linux64.tar.gz::file://${_basename}${pkgver}_linux64.tar.gz"
- "https://packages.gurobi.com/8.0/gurobi8.0.1_linux64.tar.gz"
+ "https://packages.gurobi.com/8.1/gurobi8.1.0_linux64.tar.gz"
"gurobi.sh"
"gurobi_setup.m"
)
-sha256sums=('28c028b8708869c27a93edc2769b645db4906dc7c80a4d283ed6db672b587478'
+sha256sums=('bf0d8369ab5fb69b2fb027c41814c8b8e6d1de32a39960aa9c52126cf15f58fa'
'30d535f7100627195dbe8d1c9a5ce603ed645b93eb8869984eb8a15e8db6d1c8'
'fd328dc00b276258e7828b301c93574f9aa8e6f143caf5428a648851a6ecf93c')
@@ -70,13 +70,11 @@ package_gurobi() {
# Programming interfaces
install lib/*.so* "${pkgdir}/usr/lib/"
install -m644 lib/*.a "${pkgdir}/usr/lib/"
- ln -sf ./libgurobi.so.8.0.1 "${pkgdir}/usr/lib/libgurobi80.so"
+ ln -sf ./libgurobi.so.8.1.0 "${pkgdir}/usr/lib/libgurobi810.so"
ln -sf ./libgurobi_g++5.2.a "${pkgdir}/usr/lib/libgurobi_c++.a"
- python2 setup.py install --root="$pkgdir" --optimize=1
- python3.6 setup.py install --root="$pkgdir" --optimize=1
- install -D "lib/python2.7_utf32/gurobipy/gurobipy.so" "${pkgdir}/usr/lib/python2.7/site-packages/gurobipy/"
- install -D "lib/python3.6_utf32/gurobipy/gurobipy.so" "${pkgdir}/usr/lib/python3.6/site-packages/gurobipy/"
+ python3.7 setup.py install --root="$pkgdir" --optimize=1
+ install -D "lib/python3.7_utf32/gurobipy/gurobipy.so" "${pkgdir}/usr/lib/python3.7/site-packages/gurobipy/"
install -D -m644 lib/gurobi.jar "${pkgdir}/usr/share/java/${_basename}/gurobi.jar"