public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/tensorpipe/files/, sci-libs/tensorpipe/
@ 2022-05-31 10:57 Alfredo Tupone
  0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2022-05-31 10:57 UTC (permalink / raw
  To: gentoo-commits

commit:     926c98d2efbf6b5045463ece655adc62d52f5926
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 10:56:53 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue May 31 10:56:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=926c98d2

sci-libs/tensorpipe: add to tree

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-libs/tensorpipe/Manifest                       |  1 +
 .../files/tensorpipe-2022.05.13-gentoo.patch       | 10 ++++++++
 sci-libs/tensorpipe/metadata.xml                   | 11 ++++++++
 sci-libs/tensorpipe/tensorpipe-2022.05.13.ebuild   | 30 ++++++++++++++++++++++
 4 files changed, 52 insertions(+)

diff --git a/sci-libs/tensorpipe/Manifest b/sci-libs/tensorpipe/Manifest
new file mode 100644
index 000000000000..088437c1b3f9
--- /dev/null
+++ b/sci-libs/tensorpipe/Manifest
@@ -0,0 +1 @@
+DIST tensorpipe-2022.05.13.tar.gz 259678 BLAKE2B 09231216b7ea1a5f4559bfd38d82337cdcde160c34ceb160c728b85ccf94566b812f0c38b6d3f6bc74b6f08b49b749939970265df343e3ca0214803f9d88e58c SHA512 cf0334f81affb2d844bc8b63c533a749753e36ee096f841641716a3bf044b17580262a2e9056d8d1351228e323c4f75401a2a120a5de397e80ec21a33fe56d2b

diff --git a/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gentoo.patch b/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gentoo.patch
new file mode 100644
index 000000000000..1d3ab0724030
--- /dev/null
+++ b/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gentoo.patch
@@ -0,0 +1,10 @@
+--- a/tensorpipe/CMakeLists.txt	2022-05-27 16:04:55.374134087 +0200
++++ b/tensorpipe/CMakeLists.txt	2022-05-27 16:05:11.596909345 +0200
+@@ -184,7 +184,6 @@
+ # We should keep libnop headers private as they should not be exposed to downstream users,
+ # but they're currently transitively included by tensorpipe/transport/connection.h (which
+ # is still unclear whether it should be a public or private header).
+-list(APPEND TP_INCLUDE_DIRS $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/third_party/libnop/include>)
+ 
+ 
+ ## Target

diff --git a/sci-libs/tensorpipe/metadata.xml b/sci-libs/tensorpipe/metadata.xml
new file mode 100644
index 000000000000..a676d5dbb87a
--- /dev/null
+++ b/sci-libs/tensorpipe/metadata.xml
@@ -0,0 +1,11 @@
+<?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">pytorch/tensorpipe</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/sci-libs/tensorpipe/tensorpipe-2022.05.13.ebuild b/sci-libs/tensorpipe/tensorpipe-2022.05.13.ebuild
new file mode 100644
index 000000000000..23422f9cc125
--- /dev/null
+++ b/sci-libs/tensorpipe/tensorpipe-2022.05.13.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+CommitId=bb1473a4b38b18268e8693044afdb8635bc8351b
+
+DESCRIPTION="provides a tensor-aware channel"
+HOMEPAGE="https://github.com/pytorch/tensorpipe/"
+SRC_URI="https://github.com/pytorch/${PN}/archive/${CommitId}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT=test
+
+RDEPEND="
+	dev-libs/libuv
+"
+DEPEND="${RDEPEND}
+	dev-libs/libnop
+"
+BDEPEND=""
+
+S="${WORKDIR}"/${PN}-${CommitId}
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/tensorpipe/files/, sci-libs/tensorpipe/
@ 2024-09-06 20:03 Alfredo Tupone
  0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2024-09-06 20:03 UTC (permalink / raw
  To: gentoo-commits

commit:     e734e6b99cc2405a1afea8bb036230d2b13d6ed1
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  6 20:02:28 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Sep  6 20:03:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e734e6b9

sci-libs/tensorpipe: gcc-15

Closes: https://bugs.gentoo.org/939120
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch | 10 ++++++++++
 sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild         |  7 ++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch b/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch
new file mode 100644
index 000000000000..e22dfbe5025b
--- /dev/null
+++ b/sci-libs/tensorpipe/files/tensorpipe-2022.05.13-gcc15.patch
@@ -0,0 +1,10 @@
+--- a/tensorpipe/common/allocator.h	2024-09-06 21:57:32.806149494 +0200
++++ b/tensorpipe/common/allocator.h	2024-09-06 21:57:54.018918083 +0200
+@@ -13,6 +13,7 @@
+ #include <functional>
+ #include <memory>
+ #include <vector>
++#include <cstdint>
+ 
+ #include <tensorpipe/common/error.h>
+ 

diff --git a/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild b/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
index 0ff4c6216eef..7783066e9de0 100644
--- a/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
+++ b/sci-libs/tensorpipe/tensorpipe-2022.05.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,6 +12,8 @@ HOMEPAGE="https://github.com/pytorch/tensorpipe/"
 SRC_URI="https://github.com/pytorch/${PN}/archive/${CommitId}.tar.gz
 	-> ${P}.tar.gz"
 
+S="${WORKDIR}"/${PN}-${CommitId}
+
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
@@ -28,11 +30,10 @@ DEPEND="${RDEPEND}
 	dev-libs/libnop
 "
 
-S="${WORKDIR}"/${PN}-${CommitId}
-
 PATCHES=(
 	"${FILESDIR}"/${P}-gentoo.patch
 	"${FILESDIR}"/${P}-musl.patch
+	"${FILESDIR}"/${P}-gcc15.patch
 )
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-06 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06 20:03 [gentoo-commits] repo/gentoo:master commit in: sci-libs/tensorpipe/files/, sci-libs/tensorpipe/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2022-05-31 10:57 Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox