summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiyangWu <xgreenlandforwyy@gmail.com>2021-10-05 15:09:42 +0800
committerBenda Xu <heroxbd@gentoo.org>2021-10-10 22:55:06 +0800
commitf197671afb0874983375f391515599f8680b58a5 (patch)
tree846d2bc5ab22f64318fe1e3d00571422c2094099 /dev-libs/rccl
parentsci-libs/rocSPARSE: fix pyyaml missing issue. (diff)
downloadgentoo-f197671afb0874983375f391515599f8680b58a5.tar.gz
gentoo-f197671afb0874983375f391515599f8680b58a5.tar.bz2
gentoo-f197671afb0874983375f391515599f8680b58a5.zip
dev-libs/rccl: bump version to 4.3.0
Closes: https://github.com/gentoo/gentoo/pull/22492 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-libs/rccl')
-rw-r--r--dev-libs/rccl/Manifest1
-rw-r--r--dev-libs/rccl/rccl-4.3.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/rccl/Manifest b/dev-libs/rccl/Manifest
index 19e11e35867a..ef9abc099a66 100644
--- a/dev-libs/rccl/Manifest
+++ b/dev-libs/rccl/Manifest
@@ -1 +1,2 @@
DIST rccl-4.0.0.tar.gz 741814 BLAKE2B c20178e45fb7787ef7f5e20326f91f11a1b2a575277b5f28591b0be6efa6730c3509b11255372648f1df50e33b5e593dbe9c3334c5001f39423fc70acfa49d07 SHA512 d25754895d7b5695e46031642c2550cf2b6b5c42628d8381a23d6d1a48699a14a4fdf842205a14b96bdd1339341f9e558492ef9366a63036d8a8a7011d2c1b05
+DIST rccl-4.3.0.tar.gz 836631 BLAKE2B c7fede9cf92d3e75b79da2874c0a1e45c5fd4ad9d24b11c9870e9fdef8d571a286cbf54ae0a033f2aec3d21b06cafc2b1c097aaf87ecd628f0c33e9267103be1 SHA512 1a27e6441955f01c853861f83743da2fc9597978c3ff99f238734d4bafb1e277d626811b72c6a12563d69b2b8265960b8a2566df618921557837035b92993f0e
diff --git a/dev-libs/rccl/rccl-4.3.0.ebuild b/dev-libs/rccl/rccl-4.3.0.ebuild
new file mode 100644
index 000000000000..532bea5d7dfa
--- /dev/null
+++ b/dev-libs/rccl/rccl-4.3.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="ROCm Communication Collectives Library (RCCL)"
+HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rccl"
+SRC_URI="https://github.com/ROCmSoftwarePlatform/rccl/archive/rocm-${PV}.tar.gz -> rccl-${PV}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64"
+SLOT="0"
+
+RDEPEND="=dev-util/hip-$(ver_cut 1-2)*"
+DEPEND="${RDEPEND}
+ dev-util/rocm-cmake"
+
+S="${WORKDIR}/rccl-rocm-${PV}"
+
+PATCHES=(
+ "${FILESDIR}/rccl-2.7.0-change_install_location.patch"
+)
+
+src_configure() {
+ addwrite /dev/kfd
+ addpredict /dev/dri/
+
+ export DEVICE_LIB_PATH="${EPREFIX}/usr/lib/amdgcn/bitcode/"
+ export CXX=hipcc
+
+ local mycmakeargs=(
+ -DBUILD_TESTS=OFF
+ -Wno-dev
+ ${AMDGPU_TARGETS+-DAMDGPU_TARGETS="${AMDGPU_TARGETS}"}
+ -D__skip_rocmclang="ON" ## fix cmake-3.21 configuration issue caused by officialy support programming language "HIP"
+ )
+
+ cmake_src_configure
+}