commit: b97cb0c43570576ff766afedc0995c04a60dfdde
Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Fri Jan 12 14:40:39 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 8 19:22:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b97cb0c4
sci-libs/hipCUB: install cmake files to /usr/lib64/cmake, not /usr/lib/cmake
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
...{hipCUB-5.7.1.ebuild => hipCUB-5.7.1-r1.ebuild} | 28 +++++-----------------
1 file changed, 6 insertions(+), 22 deletions(-)
diff --git a/sci-libs/hipCUB/hipCUB-5.7.1.ebuild
b/sci-libs/hipCUB/hipCUB-5.7.1-r1.ebuild
similarity index 54%
rename from sci-libs/hipCUB/hipCUB-5.7.1.ebuild
rename to sci-libs/hipCUB/hipCUB-5.7.1-r1.ebuild
index 0674d33b6ed5..8ff00b145b09 100644
--- a/sci-libs/hipCUB/hipCUB-5.7.1.ebuild
+++ b/sci-libs/hipCUB/hipCUB-5.7.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -27,28 +27,12 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/hipCUB-rocm-${PV}"
-# src_prepare() {
-# sed -e "/PREFIX hipcub/d" \
-# -e "/DESTINATION/s:hipcub/include/:include/:" \
-# -e "/rocm_install_symlink_subdir(hipcub)/d" \
-# -e "/<INSTALL_INTERFACE/s:hipcub/include/:include/hipcub/:" -i
hipcub/CMakeLists.txt || die
+src_prepare() {
+ sed -e "s:set(ROCM_INSTALL_LIBDIR lib):set(ROCM_INSTALL_LIBDIR
$(get_libdir)):" \
+ -i cmake/ROCMExportTargetsHeaderOnly.cmake || die
-# sed -e "s:\${ROCM_INSTALL_LIBDIR}:\${CMAKE_INSTALL_LIBDIR}:" -i
cmake/ROCMExportTargetsHeaderOnly.cmake || die
-
-# # disable downloading googletest and googlebenchmark
-# sed -r -e '/Downloading/{:a;N;/\n *\)$/!ba; d}' -i
cmake/Dependencies.cmake || die
-
-# # remove GIT dependency
-# sed -r -e '/find_package\(Git/{:a;N;/\nendif/!ba; d}' -i
cmake/Dependencies.cmake || die
-
-# if use benchmark; then
-# sed -e
"/get_filename_component/s,\${BENCHMARK_SOURCE},${PN}_\${BENCHMARK_SOURCE}," \
-# -e "/add_executable/a\ install(TARGETS
\${BENCHMARK_TARGET})" -i benchmark/CMakeLists.txt || die
-# fi
-
-# eapply_user
-# cmake_src_prepare
-# }
+ cmake_src_prepare
+}
src_configure() {
addpredict /dev/kfd