diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 7 deletions
@@ -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 @@ -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 |