diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-04-08 15:21:38 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-04-08 16:25:01 +0200 |
commit | 77bdb5421dd2ed21e44737c41dd1aff645e93a95 (patch) | |
tree | d4665a211d60dd5255130a38c07f89ac66094c4f /dev-libs | |
parent | kde-frameworks/kross: 5.105.0 version bump (diff) | |
download | gentoo-77bdb5421dd2ed21e44737c41dd1aff645e93a95.tar.gz gentoo-77bdb5421dd2ed21e44737c41dd1aff645e93a95.tar.bz2 gentoo-77bdb5421dd2ed21e44737c41dd1aff645e93a95.zip |
dev-libs/FBGEMM: add 2023.02.10, remove old
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/FBGEMM/FBGEMM-2023.02.10.ebuild (renamed from dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild) | 21 | ||||
-rw-r--r-- | 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 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 |