summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilac2020-12-12 05:59:00 +0800
committerlilac2020-12-12 05:59:00 +0800
commit93cc6f648ca97782d19dc111094c552a053a74a4 (patch)
tree76d4dd4565aa56eba462d2d823d5143a391159d2
parent864fd9f374f611c5ababa11938a45df619e16567 (diff)
downloadaur-93cc6f648ca97782d19dc111094c552a053a74a4.tar.gz
[lilac] updated to 1.6.0-2
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 11 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d4132773105..15d949bcf3b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-onnxruntime
pkgdesc = Cross-platform, high performance scoring engine for ML models
- pkgver = 1.5.3
- pkgrel = 1
+ pkgver = 1.6.0
+ pkgrel = 2
url = https://github.com/microsoft/onnxruntime
arch = x86_64
license = MIT
@@ -19,17 +19,19 @@ pkgbase = python-onnxruntime
depends = python-numpy
depends = python-onnx
depends = python-protobuf
- source = git+https://github.com/microsoft/onnxruntime#tag=v1.5.3
+ source = git+https://github.com/microsoft/onnxruntime#tag=v1.6.0
source = git+https://gitlab.com/libeigen/eigen.git
source = git+https://github.com/google/gemmlowp.git
source = git+https://github.com/onnx/onnx.git
source = git+https://github.com/dcleblanc/SafeInt.git
+ source = git+https://github.com/martinmoene/optional-lite.git
source = build-fixes.patch
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
+ sha512sums = SKIP
sha512sums = 978d01b73610aa75fe2c02046f8bce4d26b35a7e0d499bebbb067ba7397388b4bb50280ddd1ae639207478a395c577a343f41c3e2954a1ca7155c98fa91a2cf8
pkgname = python-onnxruntime
diff --git a/PKGBUILD b/PKGBUILD
index 2dbc4acf9e1..15974af572c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: Chih-Hsuan Yen <yan12125@gmail.com>
pkgname=python-onnxruntime
-pkgver=1.5.3
+pkgver=1.6.0
pkgdesc='Cross-platform, high performance scoring engine for ML models'
-pkgrel=1
+pkgrel=2
arch=(x86_64)
url='https://github.com/microsoft/onnxruntime'
license=(MIT)
@@ -11,19 +11,21 @@ depends=(nsync re2 flatbuffers python-numpy python-onnx python-protobuf)
makedepends=(git cmake gtest gmock pybind11 python-setuptools nlohmann-json chrono-date)
# not de-vendored libraries
# eigen: API changes a lot since extra/eigen 3.3.7 to the commit onnxruntime uses
-# onnx: onnxruntime uses different protobuf files than upstream onnx
+# onnx: needs shared libonnx (https://github.com/onnx/onnx/issues/3030)
# https://github.com/microsoft/onnxruntime/blob/v1.1.2/onnxruntime/core/protobuf/onnx-ml.proto#L250-L251
source=("git+https://github.com/microsoft/onnxruntime#tag=v$pkgver"
"git+https://gitlab.com/libeigen/eigen.git"
"git+https://github.com/google/gemmlowp.git"
"git+https://github.com/onnx/onnx.git"
"git+https://github.com/dcleblanc/SafeInt.git"
+ "git+https://github.com/martinmoene/optional-lite.git"
build-fixes.patch)
sha512sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
+ 'SKIP'
'978d01b73610aa75fe2c02046f8bce4d26b35a7e0d499bebbb067ba7397388b4bb50280ddd1ae639207478a395c577a343f41c3e2954a1ca7155c98fa91a2cf8')
prepare() {
@@ -32,7 +34,7 @@ prepare() {
patch -Np1 -i ../build-fixes.patch
git submodule init
- for mod in eigen gemmlowp onnx SafeInt; do
+ for mod in eigen gemmlowp onnx SafeInt optional-lite; do
git config submodule.cmake/external/$mod.url "$srcdir"/$mod
git submodule update cmake/external/$mod
done