public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/FBGEMM/
Date: Sat,  8 Apr 2023 14:26:00 +0000 (UTC)	[thread overview]
Message-ID: <1680963901.77bdb5421dd2ed21e44737c41dd1aff645e93a95.tupone@gentoo> (raw)

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


             reply	other threads:[~2023-04-08 14:26 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1680963901.77bdb5421dd2ed21e44737c41dd1aff645e93a95.tupone@gentoo \
    --to=tupone@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox