summaryrefslogtreecommitdiff
path: root/sci-libs/foxi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-16 00:29:23 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-16 00:29:23 +0000
commit18f850bb4cedde39678b12a67f82f29eef2dab63 (patch)
tree2f545c16653e3357cfdd14bf26b623d62cc18eba /sci-libs/foxi
parentbcdfc870ecd1de7eea04df21ec3a069328b2e29f (diff)
gentoo auto-resync : 16:03:2025 - 00:29:23
Diffstat (limited to 'sci-libs/foxi')
-rw-r--r--sci-libs/foxi/Manifest4
-rw-r--r--sci-libs/foxi/files/foxi-2021.05.27-gentoo.patch73
-rw-r--r--sci-libs/foxi/foxi-2021.05.27.ebuild24
-rw-r--r--sci-libs/foxi/metadata.xml11
4 files changed, 0 insertions, 112 deletions
diff --git a/sci-libs/foxi/Manifest b/sci-libs/foxi/Manifest
deleted file mode 100644
index 71d6245decfc..000000000000
--- a/sci-libs/foxi/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX foxi-2021.05.27-gentoo.patch 2398 BLAKE2B 53ed8efa8c86460768839ef071567632793fadca138d72b5e7f07619db769dbbd2d4497bfb71d63ba47c201b17fb6a415a116ee05f56083c8cbc1a00b147e31a SHA512 4b81687444653d1614226b6696ee6515e652b62746187e0b44dcff1db7bfea653cee4d9e20775d6b8e2aca7430f0f654db3da95e3a784d477373da528b05b39e
-DIST foxi-2021.05.27.tar.gz 28960 BLAKE2B 06c960f829b090eec4fe9e8c981e119578f358724e0b63991173bb7e318d23654261b901d1e15efeb6240bba75cc05fd45ab32fb30bbdf48369e139cf152f398 SHA512 ad42cfd70e40ba0f0a9187b34ae9e3bd361c8c0038669f4c1591c4f7421d12ad93f76f42b33c2575eea1a3ddb3ff781da2895cdc636df5b60422598f450203c7
-EBUILD foxi-2021.05.27.ebuild 524 BLAKE2B f591311b2823c831b826c95c5e75713115844279b150d7207be5fcadf6eb2adae554951d9a24d583c626dd8c734fef5962e9924b5ab3a935a69dc6f2aaf4d124 SHA512 736988b1d7cf20316e180276a5739549ad71f79e7d02a5bc4be8220cea78bb4c3f654f7f5c6d5ab533c6d96014c819c3f05ddc49749e8b7b7ce90e83721ad09f
-MISC metadata.xml 327 BLAKE2B d9b056783fbf66675262cb93b1faf4cd410f1ea34c877480896602f07b1a6e136d7e4168d41725d4b4bd8743155508500e1f9d80b9158acce72bca7a84596953 SHA512 4598a70431dd411d24237ec4b97ec2ab57d9a46fcbcfd3416edfa1623baf7f10599c932ae22d6bd9d69f7898a1e51322ae084ececd2a44c2d73d07cc9817f863
diff --git a/sci-libs/foxi/files/foxi-2021.05.27-gentoo.patch b/sci-libs/foxi/files/foxi-2021.05.27-gentoo.patch
deleted file mode 100644
index f252ae4fcdb2..000000000000
--- a/sci-libs/foxi/files/foxi-2021.05.27-gentoo.patch
+++ /dev/null
@@ -1,73 +0,0 @@
---- a/CMakeLists.txt 2022-06-13 21:42:28.197087591 +0200
-+++ b/CMakeLists.txt 2022-06-13 21:44:49.787170054 +0200
-@@ -77,6 +77,7 @@
- OUTPUT_NAME "foxi"
- POSITION_INDEPENDENT_CODE YES)
- target_link_libraries(foxi_wrapper PRIVATE foxi_loader foxi)
-+ target_link_options(foxi_wrapper PUBLIC "-Wl,-soname=libfoxi.so")
- if(DEFINED FOXI_SEARCH_DIR)
- target_compile_definitions(foxi_wrapper PRIVATE "FOXI_SEARCH_DIR=\"${FOXI_SEARCH_DIR}\"")
- endif()
-@@ -115,11 +116,11 @@
-
- install(TARGETS
- foxi foxi_dummy foxi_loader
-- EXPORT ONNXTargets DESTINATION lib)
-+ EXPORT ONNXTargets DESTINATION ${CMAKE_INSTALL_LIBDIR})
-
- if(NOT ANDROID AND NOT IOS)
- install(TARGETS foxi_wrapper
-- EXPORT ONNXTargets DESTINATION lib)
-+ EXPORT ONNXTargets DESTINATION ${CMAKE_INSTALL_LIBDIR})
- endif()
-
- set(FOXI_INCLUDE_DIRS "${FOXI_ROOT}" "${CMAKE_CURRENT_BINARY_DIR}")
---- a/foxi/onnxifi_wrapper.c 2022-06-14 08:07:07.351585673 +0200
-+++ b/foxi/onnxifi_wrapper.c 2022-06-14 08:11:21.680855591 +0200
-@@ -761,7 +761,9 @@
- const void* onnxModel,
- uint32_t weightsCount,
- const onnxTensorDescriptorV1* weightDescriptors,
-- onnxGraph* graph)
-+ onnxGraph* graph,
-+ uint32_t maxSeqLength,
-+ void* deferredWeightReader)
- {
- if (graph == NULL) {
- return ONNXIFI_STATUS_INVALID_POINTER;
-@@ -797,7 +799,9 @@
- onnxModel,
- weightsCount,
- weightDescriptors,
-- &graph_wrapper->graph);
-+ &graph_wrapper->graph,
-+ maxSeqLength,
-+ deferredWeightReader);
- switch (status) {
- case ONNXIFI_STATUS_SUCCESS:
- case ONNXIFI_STATUS_FALLBACK:
---- a/foxi/onnxifi_dummy.c 2022-06-14 08:14:02.484503254 +0200
-+++ b/foxi/onnxifi_dummy.c 2022-06-14 08:17:01.408891030 +0200
-@@ -103,7 +103,9 @@
- const void* onnxModel,
- uint32_t weightCount,
- const onnxTensorDescriptorV1* weightDescriptors,
-- onnxGraph* graph) {
-+ onnxGraph* graph,
-+ uint32_t maxSeqLength,
-+ void* deferredWeightReader) {
- if (graph == NULL) {
- return ONNXIFI_STATUS_INVALID_POINTER;
- }
-@@ -215,6 +217,8 @@
- onnxWaitEventFor(onnxEvent event,
- uint32_t timeoutMs,
- onnxEventState* eventState,
-- onnxStatus* eventStatus) {
-+ onnxStatus* eventStatus,
-+ char* message,
-+ size_t* messageLength) {
- return ONNXIFI_STATUS_SUCCESS;
--}
-\ No newline at end of file
-+}
diff --git a/sci-libs/foxi/foxi-2021.05.27.ebuild b/sci-libs/foxi/foxi-2021.05.27.ebuild
deleted file mode 100644
index 44f1fdeca8c9..000000000000
--- a/sci-libs/foxi/foxi-2021.05.27.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 2022-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit cmake
-
-CommitId=c278588e34e535f0bb8f00df3880d26928038cad
-
-DESCRIPTION="ONNXIFI with Facebook Extension"
-HOMEPAGE="https://github.com/houseroad/foxi/"
-SRC_URI="https://github.com/houseroad/${PN}/archive/${CommitId}.tar.gz
- -> ${P}.tar.gz"
-
-S="${WORKDIR}"/${PN}-${CommitId}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RESTRICT="test" # No test available
-
-PATCHES=(
- "${FILESDIR}"/${P}-gentoo.patch
-)
diff --git a/sci-libs/foxi/metadata.xml b/sci-libs/foxi/metadata.xml
deleted file mode 100644
index 2b6c8e44882d..000000000000
--- a/sci-libs/foxi/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
- </maintainer>
- <upstream>
- <remote-id type="github">houseroad/foxi</remote-id>
- </upstream>
-</pkgmetadata>