summaryrefslogtreecommitdiff
path: root/sci-libs/onnx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-27 00:07:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-27 00:07:23 +0100
commit3c1648a0749c1d66b300d857e6b417c1162890da (patch)
tree2b13f04c2c10d472e5bb7cc40fe6048bf8bc549d /sci-libs/onnx
parent994fe442814c4d169bb0f1ee9745604928006b39 (diff)
gentoo auto-resync : 27:05:2024 - 00:07:23
Diffstat (limited to 'sci-libs/onnx')
-rw-r--r--sci-libs/onnx/Manifest8
-rw-r--r--sci-libs/onnx/files/onnx-1.14.0-cxx_14.patch11
-rw-r--r--sci-libs/onnx/files/onnx-1.14.1-musl.patch11
-rw-r--r--sci-libs/onnx/onnx-1.14.1-r2.ebuild64
-rw-r--r--sci-libs/onnx/onnx-1.15.0-r3.ebuild67
-rw-r--r--sci-libs/onnx/onnx-1.16.0-r1.ebuild (renamed from sci-libs/onnx/onnx-1.16.0.ebuild)3
6 files changed, 3 insertions, 161 deletions
diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest
index 8983eee5da5d..6978beae5e2f 100644
--- a/sci-libs/onnx/Manifest
+++ b/sci-libs/onnx/Manifest
@@ -1,10 +1,4 @@
-AUX onnx-1.14.0-cxx_14.patch 390 BLAKE2B adae69890eec31f16de501ef3b2fc88e5dff2d0fb561d470955daa6830e7a818d35c80789cbbedd874e11776a59f07fafe9576ee11e6a0fb45fc8635fb6ef81f SHA512 7a89e24067909b1106753bd2853fc51da3d8a567c452d72d53ea321c13c78c46dbca356e3fbe78d98e301a360b93090644861c3a0d8ab6022f9666c0ee788be1
-AUX onnx-1.14.1-musl.patch 518 BLAKE2B 540d5c81d43a515ca6c4598057b80ad2157ba528dd976306175ff68e9fb0e8d05d1a92a2d6c706470017750f86ae48f30c91ae21e44627679e7b3ec8cf6e1a43 SHA512 6e198ee14da82c0fe0512d587de5da0831fbc40ac546407dc27b2ed5c75e9aa87bb0d732c6ebd6099f26ac926ad7afaed131a914352e58f9956697ab55cbf933
AUX onnx-1.15.0-hidden.patch 511 BLAKE2B 857a4ff9597a25430e2236c2d9de47c1203e630a4adfe8e4cdb72ddfb928f0327e2a625ad91e936e4d3f71bc4aa135bbd15abcf348958238075d356d47d3291b SHA512 a4dbcbae79af1ef1edc8ec8aa27eb0303c1a52baf7db74e70f2d1e6a35db7d5ed2205f7f10f34fdcd3ac536b029edf749b9eb8f7926ac2b620ac7a4b59884182
-DIST onnx-1.14.1.tar.gz 11570627 BLAKE2B df478219b5d557ad7e0717377996eefc02baa88a89d9681b17e00670e42fa3c8e47db0f5c5fdfab682fa7d80032559da8276c5106a91a7599d190427e2b6e4a8 SHA512 f846fffb286c4aeadc01462f220515f0a5c2ce1cbec849da7092a08c2676f8308af7315318a2866e9182f9aed719984ef95a9ddc69ffe0e62e40664395df5efd
-DIST onnx-1.15.0.tar.gz 12360484 BLAKE2B 4d35b82c128a69124b9bfcb3e56b3d584b7451ae739a91039e201dd485efa3e90e34e6cf135993317622f8f524160a38556231b2b0561e93d8cd0487abf35c1b SHA512 b46a4ab70af88053318eba45251c1f71528f15e45a33042877570e8d857febd3ec66e2e811fcda2105a4f17b84c9a1c6a0aaa22756c3287321b3ea29e83127fd
DIST onnx-1.16.0.tar.gz 12428161 BLAKE2B b0d16212c527078fcbe46af8efaf8bfccb0a22825cfee3c88728314599bc90f5b43ae407cc9ec10300ed19367dff769a5d6ba29d2faa61fd8e27029e2d64e83a SHA512 ef641447d8d6c4ed9f083793fe14a8568d6aa7b9b7e7b859a4082e9b892acd801230da2027d097ceaa0d68bbd37b2422b89bb7d1d55d5c3b5955c0f9c7c657c5
-EBUILD onnx-1.14.1-r2.ebuild 1287 BLAKE2B 981384a06007a6e1d0bbe602a6ab46cf856a5f6c07223599fbebfd23f2dfef4ded766367580b11e635421b0fb94ca0574fde853ee6dadb4d5f50e978a1eec1b9 SHA512 98cd76cee92bebe93192cce202fd7caf4cbb42d0afcf312acbdcb57992ccc1a7efe1f9cc3d1dc9df9cdc657b5c1ae4bfb2d6e5f86624f4bb6b5853d6a19ec952
-EBUILD onnx-1.15.0-r3.ebuild 1281 BLAKE2B 05efb8be8849ab0563b15febc148e04e44e3a350d299e2bee75efc84ccb3538811db1eb4c23102ba72fbfafcdd1148733546fc4dfff49b49f9c2421df3d07aa4 SHA512 6ee2ae88935b7b583490b29c7a58239751aab008e6b928803de259691e66c73b903b39ccda0ade1187eb8fd53bb5ad1facbcc576992cefdf1e54ec9e957f4021
-EBUILD onnx-1.16.0.ebuild 1452 BLAKE2B a3192ee85e6f19a2edaea652a3c286c5861b9610c874e0ed4f4c0d73e7754ef64e34201058b33e9517fc67db3204a9b9f2fbf59892aed44df5b1ee51b05184f5 SHA512 bb415dc0b8926a1388ebf0033af8d3f3a7ea56c004606e8754c3a237b2abcbbb84c2e406966e268c82dd849dbc568e3b5c9e9d50886f5c08b2b31cdd5127d2b4
+EBUILD onnx-1.16.0-r1.ebuild 1472 BLAKE2B 9ad73dba0ab42f4befaea9e49b497fae33b642ee350e3612bd830e4ab9e30452a82905f8fd9cb6bfde28663b2c173b1b8cea93e38cde264d99d259bd7fb82868 SHA512 3e7f0caae489f2cd95db713f5d30de754069679dbb8fdd7d1ce3ae7d1a031cb041b507acaeb1dd1322fc45405ef0588a1aad13f140b5ba1b472035b71824296f
MISC metadata.xml 404 BLAKE2B 363f1790f0dd2eace0368d7eb1875c166ba6dd0b2514232050f2f1813ccba854b4f8e58e22a329792126188f06d21bf87436c1dcc10d68b018f7abc8eb8ec3e9 SHA512 6a80de77d763a261cafee9cd69337de5282fa39772a1d2a82c3d954d29221596036346339926a124f9df9b261050d17b58d004cdd01ff2f57347379e9df2e45f
diff --git a/sci-libs/onnx/files/onnx-1.14.0-cxx_14.patch b/sci-libs/onnx/files/onnx-1.14.0-cxx_14.patch
deleted file mode 100644
index 239e0bd3a56a..000000000000
--- a/sci-libs/onnx/files/onnx-1.14.0-cxx_14.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt 2023-09-01 12:19:40.772172388 +0200
-+++ b/CMakeLists.txt 2023-09-01 12:19:53.422188861 +0200
-@@ -58,7 +58,7 @@
- # Required to use /std:c++17 or higher on Windows
- # For other platforms, set C++11 as standard for the whole project
- if(NOT MSVC)
-- set(CMAKE_CXX_STANDARD 11)
-+ set(CMAKE_CXX_STANDARD 14)
- else()
- string(APPEND CMAKE_CXX_FLAGS " /std:c++17")
- endif()
diff --git a/sci-libs/onnx/files/onnx-1.14.1-musl.patch b/sci-libs/onnx/files/onnx-1.14.1-musl.patch
deleted file mode 100644
index 04748ed67e6a..000000000000
--- a/sci-libs/onnx/files/onnx-1.14.1-musl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/onnx/checker.cc 2024-02-18 15:30:03.316320035 +0100
-+++ b/onnx/checker.cc 2024-02-18 15:31:05.715473732 +0100
-@@ -184,7 +184,7 @@
- }
- std::string data_path = path_join(ctx.get_model_dir(), relative_path);
- // use stat64 to check whether the file exists
--#if defined(__APPLE__) || defined(__wasm__)
-+#if defined(__APPLE__) || defined(__wasm__) || !defined(__GLIBC__)
- struct stat buffer; // APPLE does not have stat64
- if (stat((data_path).c_str(), &buffer) != 0) {
- #else
diff --git a/sci-libs/onnx/onnx-1.14.1-r2.ebuild b/sci-libs/onnx/onnx-1.14.1-r2.ebuild
deleted file mode 100644
index e6ecbfd239bc..000000000000
--- a/sci-libs/onnx/onnx-1.14.1-r2.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_OPTIONAL=1
-DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{9..12} )
-inherit distutils-r1 cmake
-
-DESCRIPTION="Open Neural Network Exchange (ONNX)"
-HOMEPAGE="https://github.com/onnx/onnx"
-SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-IUSE="python"
-RESTRICT="test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- python? (
- ${PYTHON_DEPS}
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- )
- dev-libs/protobuf:=
-"
-DEPEND="${RDEPEND}"
-
-BDEPEND="python? (
- ${DISTUTILS_DEPS}
-)"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.14.0-cxx_14.patch
- "${FILESDIR}"/${P}-musl.patch
-)
-
-src_prepare() {
- cmake_src_prepare
- use python && distutils-r1_src_prepare
-}
-
-src_configure() {
- mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- -DONNX_USE_LITE_PROTO=ON
- )
- cmake_src_configure
- use python && distutils-r1_src_configure
-}
-
-src_compile() {
- cmake_src_compile
- use python && CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
-}
-
-src_install() {
- cmake_src_install
- use python && distutils-r1_src_install
-}
diff --git a/sci-libs/onnx/onnx-1.15.0-r3.ebuild b/sci-libs/onnx/onnx-1.15.0-r3.ebuild
deleted file mode 100644
index cd9731d69130..000000000000
--- a/sci-libs/onnx/onnx-1.15.0-r3.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{9..12} )
-inherit distutils-r1 cmake
-
-DESCRIPTION="Open Neural Network Exchange (ONNX)"
-HOMEPAGE="https://github.com/onnx/onnx"
-SRC_URI="https://github.com/onnx/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-RESTRICT="test"
-
-RDEPEND="
- dev-python/protobuf-python[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- dev-libs/protobuf:=
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- eapply "${FILESDIR}"/${P}-hidden.patch
- cmake_src_prepare
- distutils-r1_src_prepare
-}
-
-python_configure_all()
-{
- mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- -DONNX_USE_LITE_PROTO=ON
- -DONNX_BUILD_SHARED_LIBS=ON
- )
- cmake_src_configure
-}
-
-src_configure() {
- distutils-r1_src_configure
-}
-
-src_compile() {
- mycmakeargs=(
- -DONNX_USE_PROTOBUF_SHARED_LIBS=ON
- -DONNX_USE_LITE_PROTO=ON
- -DONNX_BUILD_SHARED_LIBS=ON
- )
- CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_src_compile
-}
-
-python_compile_all() {
- cmake_src_compile
-}
-
-python_install_all() {
- cmake_src_install
- distutils-r1_python_install_all
-}
-
-src_install() {
- distutils-r1_src_install
-}
diff --git a/sci-libs/onnx/onnx-1.16.0.ebuild b/sci-libs/onnx/onnx-1.16.0-r1.ebuild
index 498d770d736d..16f073d9b4d3 100644
--- a/sci-libs/onnx/onnx-1.16.0.ebuild
+++ b/sci-libs/onnx/onnx-1.16.0-r1.ebuild
@@ -23,7 +23,8 @@ RDEPEND="
dev-python/pybind11[${PYTHON_USEDEP}]
dev-libs/protobuf:=
"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ dev-cpp/abseil-cpp"
src_prepare() {
eapply "${FILESDIR}"/${PN}-1.15.0-hidden.patch