From 1d6bc233e81d1ece6bcd5d781ed786208395d19d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 28 Dec 2023 13:38:19 +0000 Subject: gentoo auto-resync : 28:12:2023 - 13:38:18 --- sci-libs/onnx/Manifest | 2 ++ sci-libs/onnx/onnx-1.15.0.ebuild | 59 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 sci-libs/onnx/onnx-1.15.0.ebuild (limited to 'sci-libs/onnx') diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest index 344f67bbf06e..7a2023f38cad 100644 --- a/sci-libs/onnx/Manifest +++ b/sci-libs/onnx/Manifest @@ -4,9 +4,11 @@ DIST onnx-1.12.0.tar.gz 9531142 BLAKE2B 59117ea95e3686ca41c307f9ee35fbb3e9abc3b2 DIST onnx-1.13.1.tar.gz 10782133 BLAKE2B e5c93e00ccb73b56e839da48b255132f8c60508a258d136b53a2755caabed5f1b962208d570c71068484b269f016a08b398d6c8f4fc86d3850ad6d5742b760b6 SHA512 325859f591dece43a083a0945aefe3427bfdb68a98ef5922343bf7ed959528947e7664d6c8e3e3d35c390d6c20ef22d07c672e5311f80c72c199931be6c256c3 DIST onnx-1.14.0.tar.gz 11568979 BLAKE2B 9aed36489f0bbe0a96f2a7d3f44b70d228a7ec1239f5ba2b16f4b2c9ffa8fb1ddddba06b1b5e6d279d12f8d55eaeece6654da0c60220bf813e99df74e33a33eb SHA512 8a525b365fd203f0a59bcf82fa7f2e29d7e0563885ebe38269c596cd4eb949bcfc65d848b92b7abafa7ddecedcfc019f8779097ffcb5087f06037cace24462fc DIST onnx-1.14.1.tar.gz 11570627 BLAKE2B df478219b5d557ad7e0717377996eefc02baa88a89d9681b17e00670e42fa3c8e47db0f5c5fdfab682fa7d80032559da8276c5106a91a7599d190427e2b6e4a8 SHA512 f846fffb286c4aeadc01462f220515f0a5c2ce1cbec849da7092a08c2676f8308af7315318a2866e9182f9aed719984ef95a9ddc69ffe0e62e40664395df5efd +DIST onnx-1.15.0.tar.gz 12360484 BLAKE2B 4d35b82c128a69124b9bfcb3e56b3d584b7451ae739a91039e201dd485efa3e90e34e6cf135993317622f8f524160a38556231b2b0561e93d8cd0487abf35c1b SHA512 b46a4ab70af88053318eba45251c1f71528f15e45a33042877570e8d857febd3ec66e2e811fcda2105a4f17b84c9a1c6a0aaa22756c3287321b3ea29e83127fd EBUILD onnx-1.11.0-r2.ebuild 822 BLAKE2B bd238d6e73ec27dee4419095752ff2ebd2261557ce300cadfe7658a7107695309e893919c72a755eef7c872c640e4d3ceba32440e71facc918fabb8171c3423d SHA512 b5cf92465cd93eaee8568a6732920a7f73765672f81d3dea14e69879845bb67577e054e5ef69e06d9c9801f75b55d6e8fa3be0e96abca5d90fa34efa910ea6dd EBUILD onnx-1.12.0.ebuild 822 BLAKE2B bd238d6e73ec27dee4419095752ff2ebd2261557ce300cadfe7658a7107695309e893919c72a755eef7c872c640e4d3ceba32440e71facc918fabb8171c3423d SHA512 b5cf92465cd93eaee8568a6732920a7f73765672f81d3dea14e69879845bb67577e054e5ef69e06d9c9801f75b55d6e8fa3be0e96abca5d90fa34efa910ea6dd EBUILD onnx-1.13.1-r1.ebuild 654 BLAKE2B c2c8c47303a994fd110a2a1bc376a9dc1859293cbfaf1c0689834d671111cb899bcfabd98746d2eeff5ceaa2c0d79b97d12f7cfd0fcdd5d03dce72dc764917cc SHA512 210406457327445cd54adf070737a80268c5432d1cd145a4a68d41d25d447c319274fd80aeb862e21389984b2d05934f8de6667dfc64ce9d3aaaa6097c482722 EBUILD onnx-1.14.0-r2.ebuild 1207 BLAKE2B 7d5e78e616c50d7c39eda2904adbe2563b836a0234857fb0334d3f94c3a5d9411e55ed16b8a804e13051a1b2319598e41f3a39a07ab59c18300639aef7d0f1f3 SHA512 5e5b5cd6085844c8f61ac5803e1e5ca4cc84df82bcb7a6fcb9fae2a59cfc9db04cd5611f914e312979766923a2b4ff8131c781990d7c28a3976fdd52772dac0b EBUILD onnx-1.14.1-r1.ebuild 1255 BLAKE2B 83f79421d55787aaf7709a36587c80d019e91bb3450f721dc8f5baf3956a856641ca289d86bf1b5d6236ea3d6c8bdf342a94532761d95ed99695c0f79627cc79 SHA512 91eb64990a78672b3e1d301714555415aaed49e8c31b65c4f7dfc8bf34f853f58f4d084acf874ba7fe6fd918f09b8cf094dcd192d43633cd5764609bca8d16bd +EBUILD onnx-1.15.0.ebuild 1202 BLAKE2B b02f87b6f3765cc308be2f150cd528fd9840a5cbeb7b786db9583d4b9282707b374c4b1c360ce5944a0c0f5ce838416114659188b38913dedceaf2bdd38ea4ec SHA512 64153c948cf18055fa4bb9196e6a384f727281d32e2827039fa60236348d4c630d7525a9bab61e1d092c795142beb811db4263bff5f6eba13af5afb69a22804b MISC metadata.xml 322 BLAKE2B a78b6feffba2cf354154448a0e0cef5e866ec51ff0158939e7a5be1f3c4cb9bb3b29ae88ae06540627946fc3e0f6e9a63ef4d8951385e840a7a87ada99e1d50a SHA512 9d81e8e43822232c8c8cf690b6bdb9939f04adeb9230f8225a5b0b10083f9555304768901c46cc5d29c41038397bbb3b12e0111c3d0443f4c0003e99b99fc50f diff --git a/sci-libs/onnx/onnx-1.15.0.ebuild b/sci-libs/onnx/onnx-1.15.0.ebuild new file mode 100644 index 000000000000..1e57c8b8213f --- /dev/null +++ b/sci-libs/onnx/onnx-1.15.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 2022-2023 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} +)" + +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 +} -- cgit v1.2.3