From c62565378cd5a3feb54906f6458ca268db51a31a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Dec 2023 16:59:44 +0000 Subject: gentoo auto-resync : 03:12:2023 - 16:59:43 --- sci-libs/onnx/Manifest | 2 ++ sci-libs/onnx/onnx-1.14.1.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 sci-libs/onnx/onnx-1.14.1.ebuild (limited to 'sci-libs/onnx') diff --git a/sci-libs/onnx/Manifest b/sci-libs/onnx/Manifest index 86540bcaf219..7b4f5c466f71 100644 --- a/sci-libs/onnx/Manifest +++ b/sci-libs/onnx/Manifest @@ -3,8 +3,10 @@ DIST onnx-1.11.0.tar.gz 9464979 BLAKE2B dfc8ab81d4776f806fa26c751c1eb1e19ea4cf9f DIST onnx-1.12.0.tar.gz 9531142 BLAKE2B 59117ea95e3686ca41c307f9ee35fbb3e9abc3b262943211a3c25f7ef3f89e3a185145f92c9dfc4108469a3bc4580a140de7c436f97a35e64902d5a6ed5ac8ab SHA512 ab0c4f92358e904c2f28d98b35eab2d6eac22dd0a270e4f45ee590aa1ad22d09e92b32225efd7e98edb1531743f150526d26e0cbdc537757784bef2bc93efa8e 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 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.ebuild 1215 BLAKE2B 8513b2c21cc0bcaa0d403f1e5642d59954eb80414eed6188803cc98fc69a86decd126361400e890a2ea0e7e425430e64f01b7f46407bcfd3dc2957e1f9cb56a7 SHA512 d18075b57b3073915c26e186b252844daaaa0583fc4e9bc324b154580124464d84ae4476a0a4610ff5a1075f1be4ea080f89e3aaf4c3aeeef9c05b8b52860f78 MISC metadata.xml 322 BLAKE2B a78b6feffba2cf354154448a0e0cef5e866ec51ff0158939e7a5be1f3c4cb9bb3b29ae88ae06540627946fc3e0f6e9a63ef4d8951385e840a7a87ada99e1d50a SHA512 9d81e8e43822232c8c8cf690b6bdb9939f04adeb9230f8225a5b0b10083f9555304768901c46cc5d29c41038397bbb3b12e0111c3d0443f4c0003e99b99fc50f diff --git a/sci-libs/onnx/onnx-1.14.1.ebuild b/sci-libs/onnx/onnx-1.14.1.ebuild new file mode 100644 index 000000000000..79cd66b3ad82 --- /dev/null +++ b/sci-libs/onnx/onnx-1.14.1.ebuild @@ -0,0 +1,60 @@ +# 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..11} ) +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-libs/protobuf:= +" +DEPEND="${RDEPEND}" + +BDEPEND="python? ( + ${DISTUTILS_DEPS} +)" + +PATCHES=( "${FILESDIR}"/${PN}-1.14.0-cxx_14.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 +} -- cgit v1.2.3