summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorinhzus2022-08-28 07:02:41 +0000
committerinhzus2022-08-28 07:02:41 +0000
commit78839e2b84f8eb2c6c1381c054e842398e69484c (patch)
treedd90e9309acc2454cc304661c3c4de72b06166f4
parent525b9a2b961d4d196115420c7b60ef131cb70b81 (diff)
downloadaur-onnxruntime-lib-git.tar.gz
Fix onnxruntime header path
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 01a7312bb6af..8bebf4913601 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = onnxruntime-lib-git
pkgdesc = ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
pkgver = 1.12.1
- pkgrel = 2
+ pkgrel = 3
url = https://www.onnxruntime.ai/
arch = x86_64
license = MIT
@@ -9,7 +9,7 @@ pkgbase = onnxruntime-lib-git
conflicts = onnxruntime
source = https://github.com/microsoft/onnxruntime/releases/download/v1.12.1/onnxruntime-linux-x64-1.12.1.tgz
source = onnxruntime-lib-git.zip::https://github.com/microsoft/onnxruntime/archive/refs/heads/main.zip
- md5sums = SKIP
- md5sums = SKIP
+ md5sums = 31f1cc5d934682459aaa2abb2b7ebc0f
+ md5sums = 8722efaefed3071ad4a7124f6fdf404a
pkgname = onnxruntime-lib-git
diff --git a/PKGBUILD b/PKGBUILD
index 276c613afdf7..c88dd0131f62 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=onnxruntime-lib-git
pkgver=1.12.1
-pkgrel=2
+pkgrel=3
pkgdesc="ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator"
arch=('x86_64')
url="https://www.onnxruntime.ai/"
@@ -17,16 +17,16 @@ options=()
source=("https://github.com/microsoft/onnxruntime/releases/download/v${pkgver}/onnxruntime-linux-x64-${pkgver}.tgz"
"$pkgname.zip::https://github.com/microsoft/onnxruntime/archive/refs/heads/main.zip")
noextract=()
-md5sums=('SKIP'
- 'SKIP')
+md5sums=('31f1cc5d934682459aaa2abb2b7ebc0f'
+ '8722efaefed3071ad4a7124f6fdf404a')
# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.
package() {
- mkdir -p "${pkgdir}/usr/include"
+ mkdir -p "${pkgdir}/usr/include/onnxruntime"
mkdir -p "${pkgdir}/usr/lib"
- cp -r "${srcdir}/onnxruntime-main/include"/* "${pkgdir}/usr/include/"
- cp "${srcdir}/onnxruntime-linux-x64-${pkgver}/include"/* "${pkgdir}/usr/include/"
+ cp -r "${srcdir}/onnxruntime-main/include/onnxruntime"/* "${pkgdir}/usr/include/onnxruntime"
+ cp -r "${srcdir}/onnxruntime-linux-x64-${pkgver}/include"/* "${pkgdir}/usr/include/onnxruntime"
cp "${srcdir}/onnxruntime-linux-x64-${pkgver}/lib"/* "${pkgdir}/usr/lib/"
}