From a06c47011120ee885d0ea7adb1a080bb16f03b3c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Dec 2023 20:53:21 +0000 Subject: gentoo auto-resync : 16:12:2023 - 20:53:21 --- sci-libs/gloo/Manifest | 2 +- sci-libs/gloo/gloo-2023.05.19-r1.ebuild | 65 +++++++++++++++++++++++++++++++++ sci-libs/gloo/gloo-2023.05.19.ebuild | 65 --------------------------------- 3 files changed, 66 insertions(+), 66 deletions(-) create mode 100644 sci-libs/gloo/gloo-2023.05.19-r1.ebuild delete mode 100644 sci-libs/gloo/gloo-2023.05.19.ebuild (limited to 'sci-libs/gloo') diff --git a/sci-libs/gloo/Manifest b/sci-libs/gloo/Manifest index 209f963b69c3..d1940ff30a94 100644 --- a/sci-libs/gloo/Manifest +++ b/sci-libs/gloo/Manifest @@ -4,5 +4,5 @@ AUX gloo-2023.01.17-ssl3.patch 764 BLAKE2B e4abed8dc9f891da2a97c80e4aa3c7f68beed DIST gloo-2023.01.17.tar.gz 252199 BLAKE2B 66b5fc6786a4c07aa639a30036a21d86f43c1577a950934f558051f241d198dd3e0d7bd9da39835c5e3d617a754164cb77ae30b9bc284b0119436bf0a26f5000 SHA512 d39102ed00c813576066b755730e367337f2558a4223fe8dd127bd48882db6a97c67522782f7e7b00c36198ccd2096e61e84382358783d2edb1ca4ee55123344 DIST gloo-2023.05.19.tar.gz 252199 BLAKE2B 66b5fc6786a4c07aa639a30036a21d86f43c1577a950934f558051f241d198dd3e0d7bd9da39835c5e3d617a754164cb77ae30b9bc284b0119436bf0a26f5000 SHA512 d39102ed00c813576066b755730e367337f2558a4223fe8dd127bd48882db6a97c67522782f7e7b00c36198ccd2096e61e84382358783d2edb1ca4ee55123344 EBUILD gloo-2023.01.17-r2.ebuild 1442 BLAKE2B 0f9b073359f28a376c1007af3584a60430857d4e2a2a5f1217489ec379130fcafe192bef0d894d5c2e44d910ed63412e50cc5591c410417bbb6af120f010ada3 SHA512 d8c3a6b5523b6ba4d4604b67772c7e5bb37f06a384953b8233f75526a2b9b80eaf1b75e3f25b9f9db252ff91c6333b924702b15758958c51cc24b88b8ef5aef3 -EBUILD gloo-2023.05.19.ebuild 1466 BLAKE2B 28453c30cccd78629ad399396fa37de607401d6dc7aa3b6c59f80705e906119e1d61c8f560c621c12b2650d7e08cd131b23e4c5f935df8aa629672f468a6a808 SHA512 8369f2c09395fdaf00e9a13ba0b9083785c2f2632348a9d6059b0c065d7ce9ffa77d43fe2b1e34ad647bd45a92bc8fe52a411c7171fa55424163eeb3ba45c42e +EBUILD gloo-2023.05.19-r1.ebuild 1462 BLAKE2B 4e855f30d7e889a69a50894e16023e174cd73ea1dabc7c30689266e1340f230290f78d59ad993536929c97ad9cfeea1b9e192d79df5edd0c7b9d7b506449d958 SHA512 8dd6ae406c5ba5d6f99b732525d7d82824e0cd3a29866980b06ea0ea77f9b5a76d2749ca030c35cd9f199e7876c43f95c58d87c00545e633bd1a680da961d6fe MISC metadata.xml 539 BLAKE2B a003088828ee5ddab36b1b1796342e5ae93d1accae3c478c6030ae35b44dd64d33f637010b28c2bd56d0c70c7817d8601a794338d790964ee2e31e532e4e5618 SHA512 5828cdbfa19220b3bb07d964ad8d1a20031d361dff0ea319352f6b2e9ed511aefb5de3d8cae03f1b4f479b552de2a516cfea70d95d147a922a8761064bb4e875 diff --git a/sci-libs/gloo/gloo-2023.05.19-r1.ebuild b/sci-libs/gloo/gloo-2023.05.19-r1.ebuild new file mode 100644 index 000000000000..d1401ead5e89 --- /dev/null +++ b/sci-libs/gloo/gloo-2023.05.19-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake cuda + +CommitId=10909297fedab0a680799211a299203e53515032 + +DESCRIPTION="library of floating-point neural network inference operators" +HOMEPAGE="https://github.com/facebookincubator/gloo/" +SRC_URI="https://github.com/facebookincubator/${PN}/archive/${CommitId}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cuda libuv mpi redis ssl test" + +RDEPEND=" + cuda? ( dev-util/nvidia-cuda-toolkit:= ) + libuv? ( dev-libs/libuv ) + mpi? ( virtual/mpi ) + redis? ( + dev-db/redis + dev-libs/hiredis + ) + ssl? ( dev-libs/openssl:0/1.1 ) +" +DEPEND="${RDEPEND} +" + +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="test" # For some test the network is needed + +S="${WORKDIR}"/${PN}-${CommitId} + +PATCHES=( + "${FILESDIR}"/${PN}-2022.05.18-gentoo.patch + "${FILESDIR}"/${PN}-2023.01.17-cuda.patch + "${FILESDIR}"/${PN}-2023.01.17-ssl3.patch +) + +src_prepare() { + eapply_user + cmake_src_prepare + use cuda && cuda_add_sandbox +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TEST=$(usex test ON OFF) + -DUSE_CUDA=$(usex cuda ON OFF) + -DGLOO_USE_CUDA_TOOLKIT=$(usex cuda ON OFF) + -DUSE_LIBUV=$(usex libuv ON OFF) + -DUSE_MPI=$(usex mpi ON OFF) + -DUSE_REDIS=$(usex redis ON OFF) + -DUSE_TCP_OPENSSL_LINK=$(usex ssl ON OFF) + ) + if use cuda; then + mycmakeargs+=( + -DCMAKE_CUDA_FLAGS="$(cuda_gccdir -f | tr -d \")" + ) + fi + cmake_src_configure +} diff --git a/sci-libs/gloo/gloo-2023.05.19.ebuild b/sci-libs/gloo/gloo-2023.05.19.ebuild deleted file mode 100644 index 605bc787a6d1..000000000000 --- a/sci-libs/gloo/gloo-2023.05.19.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit cmake cuda - -CommitId=10909297fedab0a680799211a299203e53515032 - -DESCRIPTION="library of floating-point neural network inference operators" -HOMEPAGE="https://github.com/facebookincubator/gloo/" -SRC_URI="https://github.com/facebookincubator/${PN}/archive/${CommitId}.tar.gz - -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="cuda libuv mpi redis ssl test" - -RDEPEND=" - cuda? (