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

commit:     99edaaec410b3218a4ffc890db1b7b790759e25a
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 05:32:15 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu May 26 05:32:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99edaaec

dev-libs/FBGEMM: use python-any-r1

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

 dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild b/dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild
index 51c233d44e8d..1ecfb6cc82f6 100644
--- a/dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild
+++ b/dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=8
 
-inherit cmake
+PYTHON_COMPAT=( python3_{8..11} )
+inherit python-any-r1 cmake
 
 CommitId=135412d2646f3bd753c8f1cfd33616110bbccd27
 
@@ -22,7 +23,10 @@ DEPEND="
 	dev-libs/cpuinfo
 "
 RDEPEND="${DEPEND}"
-BDEPEND="test? ( dev-cpp/gtest )"
+BDEPEND="
+	test? ( dev-cpp/gtest )
+	${PYTHON_DEPS}
+"
 RESTRICT="!test? ( test )"
 
 S="${WORKDIR}"/${PN}-${CommitId}


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FBGEMM/
@ 2022-07-02 17:10 Alfredo Tupone
  0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2022-07-02 17:10 UTC (permalink / raw
  To: gentoo-commits

commit:     ffdd869c7bc64182c5fe1f05b5b6cfd04c3ee884
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  2 17:10:15 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jul  2 17:10:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffdd869c

dev-libs/FBGEMM: filter-lto

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

 dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild b/dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild
index 1ecfb6cc82f6..f4d49e6550eb 100644
--- a/dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild
+++ b/dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..11} )
-inherit python-any-r1 cmake
+inherit python-any-r1 flag-o-matic cmake
 
 CommitId=135412d2646f3bd753c8f1cfd33616110bbccd27
 
@@ -36,6 +36,9 @@ PATCHES=(
 )
 
 src_prepare() {
+	# Bug #855668
+	filter-lto
+
 	rm test/RowWiseSparseAdagradFusedTest.cc || die
 	rm test/SparseAdagradTest.cc || die
 	cmake_src_prepare


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FBGEMM/
@ 2022-07-18  8:09 Alfredo Tupone
  0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2022-07-18  8:09 UTC (permalink / raw
  To: gentoo-commits

commit:     92824dd3fe15c3e0eeed181d178f83330aeedac3
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 08:09:07 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 08:09:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92824dd3

dev-libs/FBGEMM: fix deps on asmjit

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

 .../FBGEMM/{FBGEMM-2022.01.13.ebuild => FBGEMM-2022.01.13-r1.ebuild}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild b/dev-libs/FBGEMM/FBGEMM-2022.01.13-r1.ebuild
similarity index 97%
rename from dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild
rename to dev-libs/FBGEMM/FBGEMM-2022.01.13-r1.ebuild
index f4d49e6550eb..6f20c2c90406 100644
--- a/dev-libs/FBGEMM/FBGEMM-2022.01.13.ebuild
+++ b/dev-libs/FBGEMM/FBGEMM-2022.01.13-r1.ebuild
@@ -19,7 +19,7 @@ KEYWORDS="~amd64"
 IUSE="test"
 
 DEPEND="
-	dev-libs/asmjit
+	~dev-libs/asmjit-2021.11.13
 	dev-libs/cpuinfo
 "
 RDEPEND="${DEPEND}"


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FBGEMM/
@ 2022-07-20 11:53 Alfredo Tupone
  0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2022-07-20 11:53 UTC (permalink / raw
  To: gentoo-commits

commit:     59d13125a121b7b2fd7da19781a34e707d00890a
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 08:12:42 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 11:53:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d13125

dev-libs/FBGEMM: version bump

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

 dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild | 54 ++++++++++++++++++++++++++++++++
 dev-libs/FBGEMM/Manifest                 |  1 +
 2 files changed, 55 insertions(+)

diff --git a/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild b/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild
new file mode 100644
index 000000000000..0abbaeb568c3
--- /dev/null
+++ b/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit python-any-r1 flag-o-matic cmake
+
+CommitId=7d59e803359eb323598e572700db27de467b705a
+
+DESCRIPTION="Facebook GEneral Matrix Multiplication"
+HOMEPAGE="https://github.com/pytorch/FBGEMM"
+SRC_URI="https://github.com/pytorch/${PN}/archive/${CommitId}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND="
+	>=dev-libs/asmjit-2022.07.02
+	dev-libs/cpuinfo
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	test? ( dev-cpp/gtest )
+	${PYTHON_DEPS}
+"
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}"/${PN}-${CommitId}
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2022.01.13-gentoo.patch
+)
+
+src_prepare() {
+	# Bug #855668
+	filter-lto
+
+	rm test/RowWiseSparseAdagradFusedTest.cc || die
+	rm test/SparseAdagradTest.cc || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DFBGEMM_LIBRARY_TYPE=shared
+		-DFBGEMM_BUILD_BENCHMARKS=OFF
+		-DFBGEMM_BUILD_TESTS=$(usex test ON OFF)
+	)
+	cmake_src_configure
+}

diff --git a/dev-libs/FBGEMM/Manifest b/dev-libs/FBGEMM/Manifest
index 397db1e2a3bd..5fd675cbb2ad 100644
--- a/dev-libs/FBGEMM/Manifest
+++ b/dev-libs/FBGEMM/Manifest
@@ -1 +1,2 @@
 DIST FBGEMM-2022.01.13.tar.gz 532297 BLAKE2B bced7e1a1712351a87762e8d0a28ed3bbc5678c8ce70b440e769e53dc15f68e3ec8c89df9307f33da788bd376613720892493c0b519d3860a6e2edb48de1fdba SHA512 a416c2c11b0e6798e0dbb376050ead79cb602cd4f0e41b6109eeefe3e939e410adf0ce828d1224a358eb8245a935cc431d8023ccc396f08ca88276fb91c66157
+DIST FBGEMM-2022.07.16.tar.gz 744470 BLAKE2B d1ee51ad72a22fb1b7abaefe330f70e27bc5d6dfda2587373d7e0209aef099ab10c8772612a9786fc2bd760f66154053b9e6c9a6b7f3c82ed2114536f7b30213 SHA512 7d245ea47c57c2da0555693624c45c8585aab5d1b171c9f3b909e140d9d0964cb9cf8f029c291c45f8070d5cfad6f7116e606fdd4120b2223279e39d4ba3f189


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FBGEMM/
@ 2022-07-20 18:29 Alfredo Tupone
  0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2022-07-20 18:29 UTC (permalink / raw
  To: gentoo-commits

commit:     f486186d35943e5afe95478dfa1bdd36ea8426b2
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 18:29:38 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 18:29:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f486186d

dev-libs/FBGEMM: drop Werror

Closes: https://bugs.gentoo.org/859511
Closes: https://bugs.gentoo.org/859562
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild b/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild
index 0abbaeb568c3..c707cf7f6354 100644
--- a/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild
+++ b/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild
@@ -41,6 +41,10 @@ src_prepare() {
 
 	rm test/RowWiseSparseAdagradFusedTest.cc || die
 	rm test/SparseAdagradTest.cc || die
+	sed -i \
+		-e "/-Werror/d" \
+		CMakeLists.txt \
+		|| die
 	cmake_src_prepare
 }
 


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FBGEMM/
@ 2023-04-08 14:26 Alfredo Tupone
  0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2023-04-08 14:26 UTC (permalink / raw
  To: gentoo-commits

commit:     77bdb5421dd2ed21e44737c41dd1aff645e93a95
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  8 13:21:38 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Apr  8 14:25:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77bdb542

dev-libs/FBGEMM: add 2023.02.10, remove old

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 ...M-2022.07.16.ebuild => FBGEMM-2023.02.10.ebuild} | 21 ++++++++++++++++++---
 dev-libs/FBGEMM/Manifest                            |  2 +-
 2 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild b/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
similarity index 67%
rename from dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild
rename to dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
index b2c8f05937d7..27388ddaa17b 100644
--- a/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild
+++ b/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{9..11} )
 inherit python-any-r1 flag-o-matic cmake
 
-CommitId=7d59e803359eb323598e572700db27de467b705a
+CommitId=03b2046676707da64504e898490ab46104d4682a
 
 DESCRIPTION="Facebook GEneral Matrix Multiplication"
 HOMEPAGE="https://github.com/pytorch/FBGEMM"
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/pytorch/${PN}/archive/${CommitId}.tar.gz
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="test"
+IUSE="doc test"
 
 DEPEND="
 	>=dev-libs/asmjit-2022.07.02
@@ -25,15 +25,29 @@ DEPEND="
 RDEPEND="${DEPEND}"
 BDEPEND="
 	test? ( dev-cpp/gtest )
+	doc? (
+		$(python_gen_any_dep '
+			dev-python/sphinx[${PYTHON_USEDEP}]
+			dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+			dev-python/breathe[${PYTHON_USEDEP}]
+		')
+	)
 	${PYTHON_DEPS}
 "
 RESTRICT="!test? ( test )"
 
 S="${WORKDIR}"/${PN}-${CommitId}
 
+python_check_deps() {
+	python_has_version \
+		"dev-python/sphinx[${PYTHON_USEDEP}]" \
+		"dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" \
+		"dev-python/breathe[${PYTHON_USEDEP}]"
+}
+
 PATCHES=(
 	"${FILESDIR}"/${PN}-2022.01.13-gentoo.patch
-	"${FILESDIR}"/${P}-gcc13.patch
+	"${FILESDIR}"/${PN}-2022.07.16-gcc13.patch
 )
 
 src_prepare() {
@@ -53,6 +67,7 @@ src_configure() {
 	local mycmakeargs=(
 		-DFBGEMM_LIBRARY_TYPE=shared
 		-DFBGEMM_BUILD_BENCHMARKS=OFF
+		-DFBGEMM_BUILD_DOCS=$(usex doc ON OFF)
 		-DFBGEMM_BUILD_TESTS=$(usex test ON OFF)
 	)
 	cmake_src_configure

diff --git a/dev-libs/FBGEMM/Manifest b/dev-libs/FBGEMM/Manifest
index 70bae9073b04..5ca7cee0d7e4 100644
--- a/dev-libs/FBGEMM/Manifest
+++ b/dev-libs/FBGEMM/Manifest
@@ -1 +1 @@
-DIST FBGEMM-2022.07.16.tar.gz 744470 BLAKE2B d1ee51ad72a22fb1b7abaefe330f70e27bc5d6dfda2587373d7e0209aef099ab10c8772612a9786fc2bd760f66154053b9e6c9a6b7f3c82ed2114536f7b30213 SHA512 7d245ea47c57c2da0555693624c45c8585aab5d1b171c9f3b909e140d9d0964cb9cf8f029c291c45f8070d5cfad6f7116e606fdd4120b2223279e39d4ba3f189
+DIST FBGEMM-2023.02.10.tar.gz 854918 BLAKE2B 2af11baf95c1f33e1b1dd6f2a51dde2c991ff0f606402a7aaa539b7bc505c3707cafaa96d8f742c91672ec09a1f18a69f0e69c012b6db11d5297d602b8f4860c SHA512 a59d928150d674c56b5d38f73e62b5f4e2b527ea1f7ebb891ea1d3356e4183e0f469d145fca37fcb1c85f8773cf54226a8e41389fe9783474c457a7bd31846d6


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FBGEMM/
@ 2023-04-08 19:28 Alfredo Tupone
  0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2023-04-08 19:28 UTC (permalink / raw
  To: gentoo-commits

commit:     dcdd64e286d5424b0801c6c15902abdf9b6b4fb6
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  8 19:26:43 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Apr  8 19:27:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcdd64e2

dev-libs/FBGEMM: sphinx check only for doc

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

 dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild b/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
index 27388ddaa17b..d0bf065049d7 100644
--- a/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
+++ b/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
@@ -39,10 +39,12 @@ RESTRICT="!test? ( test )"
 S="${WORKDIR}"/${PN}-${CommitId}
 
 python_check_deps() {
-	python_has_version \
-		"dev-python/sphinx[${PYTHON_USEDEP}]" \
-		"dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" \
-		"dev-python/breathe[${PYTHON_USEDEP}]"
+	if use doc; then
+		python_has_version \
+			"dev-python/sphinx[${PYTHON_USEDEP}]" \
+			"dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" \
+			"dev-python/breathe[${PYTHON_USEDEP}]"
+	fi
 }
 
 PATCHES=(


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FBGEMM/
@ 2023-04-10 15:29 Alfredo Tupone
  0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2023-04-10 15:29 UTC (permalink / raw
  To: gentoo-commits

commit:     32917a206bce565e093c8c9bac078ec3d5992fc0
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 10 15:26:51 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 15:28:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32917a20

dev-libs/FBGEMM: fix test ny increase of stack size

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

 dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild b/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
index d0bf065049d7..194619787e6d 100644
--- a/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
+++ b/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
@@ -74,3 +74,7 @@ src_configure() {
 	)
 	cmake_src_configure
 }
+
+src_test() {
+	OMP_STACKSIZE=512k cmake_src_test
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FBGEMM/
@ 2023-12-28 21:04 Alfredo Tupone
  0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2023-12-28 21:04 UTC (permalink / raw
  To: gentoo-commits

commit:     eb4787c67b48af431a85621cc124288cecf16407
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 21:03:45 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 21:03:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb4787c6

dev-libs/FBGEMM: enable py3.12

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild | 2 +-
 dev-libs/FBGEMM/FBGEMM-2023.11.02.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild b/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
index 22674b795e6c..f9344e4d5411 100644
--- a/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
+++ b/dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 inherit python-any-r1 flag-o-matic cmake
 
 CommitId=03b2046676707da64504e898490ab46104d4682a

diff --git a/dev-libs/FBGEMM/FBGEMM-2023.11.02.ebuild b/dev-libs/FBGEMM/FBGEMM-2023.11.02.ebuild
index e4307e16afe8..ce3c44e805d1 100644
--- a/dev-libs/FBGEMM/FBGEMM-2023.11.02.ebuild
+++ b/dev-libs/FBGEMM/FBGEMM-2023.11.02.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 inherit python-any-r1 flag-o-matic cmake
 
 CommitId=cdae5d97e3aa9fda4222f31c04dbd80249c918d1


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/FBGEMM/
@ 2024-05-01 11:39 Alfredo Tupone
  0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2024-05-01 11:39 UTC (permalink / raw
  To: gentoo-commits

commit:     6f8b247d389a1f4c1077faaaf205e839ae8a35ad
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed May  1 11:38:52 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed May  1 11:38:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f8b247d

dev-libs/FBGEMM: add 2023.12.04

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-libs/FBGEMM/FBGEMM-2023.12.04.ebuild | 79 ++++++++++++++++++++++++++++++++
 dev-libs/FBGEMM/Manifest                 |  1 +
 2 files changed, 80 insertions(+)

diff --git a/dev-libs/FBGEMM/FBGEMM-2023.12.04.ebuild b/dev-libs/FBGEMM/FBGEMM-2023.12.04.ebuild
new file mode 100644
index 000000000000..9299ba5bb74c
--- /dev/null
+++ b/dev-libs/FBGEMM/FBGEMM-2023.12.04.ebuild
@@ -0,0 +1,79 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit python-any-r1 flag-o-matic cmake
+
+CommitId=dbc3157bf256f1339b3fa1fef2be89ac4078be0e
+
+DESCRIPTION="Facebook GEneral Matrix Multiplication"
+HOMEPAGE="https://github.com/pytorch/FBGEMM"
+SRC_URI="https://github.com/pytorch/${PN}/archive/${CommitId}.tar.gz
+	-> ${P}.tar.gz"
+
+S="${WORKDIR}"/${PN}-${CommitId}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc test"
+
+DEPEND="
+	>=dev-libs/asmjit-2022.07.02
+	dev-libs/cpuinfo
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	test? ( dev-cpp/gtest )
+	doc? (
+		$(python_gen_any_dep '
+			dev-python/sphinx[${PYTHON_USEDEP}]
+			dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+			dev-python/breathe[${PYTHON_USEDEP}]
+		')
+	)
+	${PYTHON_DEPS}
+"
+RESTRICT="!test? ( test )"
+
+python_check_deps() {
+	if use doc; then
+		python_has_version \
+			"dev-python/sphinx[${PYTHON_USEDEP}]" \
+			"dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" \
+			"dev-python/breathe[${PYTHON_USEDEP}]"
+	fi
+}
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2023.11.02-gentoo.patch
+)
+
+src_prepare() {
+	# Bug #855668
+	filter-lto
+
+	rm test/RowWiseSparseAdagradFusedTest.cc || die
+	rm test/SparseAdagradTest.cc || die
+	sed -i \
+		-e "/-Werror/d" \
+		CMakeLists.txt \
+		|| die
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DFBGEMM_LIBRARY_TYPE=shared
+		-DFBGEMM_BUILD_BENCHMARKS=OFF
+		-DFBGEMM_BUILD_DOCS=$(usex doc ON OFF)
+		-DFBGEMM_BUILD_TESTS=$(usex test ON OFF)
+	)
+	cmake_src_configure
+}
+
+src_test() {
+	OMP_STACKSIZE=512k cmake_src_test
+}

diff --git a/dev-libs/FBGEMM/Manifest b/dev-libs/FBGEMM/Manifest
index edf24ff03da4..5b052896fa9b 100644
--- a/dev-libs/FBGEMM/Manifest
+++ b/dev-libs/FBGEMM/Manifest
@@ -1,2 +1,3 @@
 DIST FBGEMM-2023.11.02.tar.gz 895265 BLAKE2B 0f884147a86881159485680f1cb0c7b7e65bba5a98e62c38534041264f920e08a268e348e3d82ba3d246226a10f592d86dc37bce0cfa42c72dad478041a6c807 SHA512 030f27a120586240c5f80026bd033cf6fedbe1ae12a667308d33d6321f2334021d474a3625795d1f34734336b688b19c09134e10d5cc8dec86e84485de298584
 DIST FBGEMM-2023.12.01.tar.gz 1004090 BLAKE2B dc19ebee06bccb888e5d03606168c7439ce8c96303a697056edd22d3a3a6ff4f4f3ddf5371d50aa774890ca1ad66d665f5e54976dc1b8da841759a3f4d64c4d7 SHA512 ab37964326d2cbbcbf0f2c722675d1f059407fc3185275d37f2e04f3e516fe0733ac1fb35351fc7e7c308e9c0da40811d3657a10a3696cb7648494df79408aab
+DIST FBGEMM-2023.12.04.tar.gz 1004231 BLAKE2B 930ae36f4761901e1b22d7ce4a341f051158a23646bd1f5309f6eb98c1ca483e8aa4e5a6cfc44ced702f73f84e3398c1439799457a98d0d8a009702e335d5c03 SHA512 3c786572b4a69af2a32b360711014469ded69be580d0079ba79ab81cbaa964aab51e5a189e24f0ec7dc93402d761167898918a0ea0f86d556cad4b99f5858d8c


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

end of thread, other threads:[~2024-05-01 11:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-26  5:32 [gentoo-commits] repo/gentoo:master commit in: dev-libs/FBGEMM/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2022-07-02 17:10 Alfredo Tupone
2022-07-18  8:09 Alfredo Tupone
2022-07-20 11:53 Alfredo Tupone
2022-07-20 18:29 Alfredo Tupone
2023-04-08 14:26 Alfredo Tupone
2023-04-08 19:28 Alfredo Tupone
2023-04-10 15:29 Alfredo Tupone
2023-12-28 21:04 Alfredo Tupone
2024-05-01 11:39 Alfredo Tupone

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