summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos M. Raimundo2018-08-17 08:56:44 -0300
committerMarcos M. Raimundo2018-08-17 08:56:44 -0300
commit9545c08ae067e35116114d7bd3a3bba41b2289ce (patch)
tree75b6b5ef45c7af3d48d5e3a5d92a29bbc9cbd5ae
parentca0e7388cd46c9793697e2728b0415502309dfbb (diff)
downloadaur-9545c08ae067e35116114d7bd3a3bba41b2289ce.tar.gz
update to 8.0.1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b7fc31310c1..dc555420d62 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gurobi
pkgdesc = State-of-the-art solver for mathematical programming
- pkgver = 7.5.2
+ pkgver = 8.0.1
pkgrel = 1
url = http://www.gurobi.com/products/gurobi-optimizer/gurobi-overview
install = gurobi.install
@@ -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 = gurobi7.5.2_linux64.tar.gz::file://gurobi7.5.2_linux64.tar.gz
+ source = gurobi8.0.1_linux64.tar.gz::https://packages.gurobi.com/8.0/gurobi8.0.1_linux64.tar.gz
source = gurobi.sh
source = gurobi_setup.m
- sha256sums = 7f5c8b0c3d3600ab7a1898f43e238a9d9a32ac1206f2917fb60be9bbb76111b6
+ sha256sums = f82e1c12568de89ede61f9700344b1538027a812cffb0063d7ff7c657c21132c
sha256sums = 30d535f7100627195dbe8d1c9a5ce603ed645b93eb8869984eb8a15e8db6d1c8
sha256sums = fd328dc00b276258e7828b301c93574f9aa8e6f143caf5428a648851a6ecf93c
diff --git a/PKGBUILD b/PKGBUILD
index 1dfc78d2150..70ef2844a39 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=('gurobi')
_basename=gurobi
-pkgver=7.5.2
+pkgver=8.0.1
pkgrel=1
pkgdesc="State-of-the-art solver for mathematical programming"
arch=('x86_64')
@@ -25,7 +25,7 @@ source=(
"gurobi.sh"
"gurobi_setup.m"
)
-sha256sums=('d2e6e2eb591603d57e54827e906fe3d7e2e0e1a01f9155d33faf5a2a046d218e'
+sha256sums=('f82e1c12568de89ede61f9700344b1538027a812cffb0063d7ff7c657c21132c'
'30d535f7100627195dbe8d1c9a5ce603ed645b93eb8869984eb8a15e8db6d1c8'
'fd328dc00b276258e7828b301c93574f9aa8e6f143caf5428a648851a6ecf93c')
@@ -69,11 +69,14 @@ package_gurobi() {
# Programming interfaces
install lib/*.so* "${pkgdir}/usr/lib/"
install -m644 lib/*.a "${pkgdir}/usr/lib/"
- ln -sf ./libgurobi.so.7.5.2 "${pkgdir}/usr/lib/libgurobi75.so"
+ ln -sf ./libgurobi.so.8.0.1 "${pkgdir}/usr/lib/libgurobi80.so"
ln -sf ./libgurobi_g++5.2.a "${pkgdir}/usr/lib/libgurobi_c++.a"
python2 setup.py install --root="$pkgdir" --optimize=1
- python3 setup.py install --root="$pkgdir" --optimize=1
+ python3.5 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.5_utf32/gurobipy/gurobipy.so" "${pkgdir}/usr/lib/python3.5/site-packages/gurobipy/"
install -D "lib/python3.6_utf32/gurobipy/gurobipy.so" "${pkgdir}/usr/lib/python3.6/site-packages/gurobipy/"
install -D -m644 lib/gurobi.jar "${pkgdir}/usr/share/java/${_basename}/gurobi.jar"