summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2023-03-02 16:29:27 +0000
committerPatrick Lauer <patrick@gentoo.org>2023-03-02 16:30:04 +0000
commit41d6545cb4d18f6fe517cdfdf29968dc04aeae4b (patch)
tree2faf34ae3a7659f8190f21f04e6ceba5f88b2b34 /sci-libs
parentsci-libs/rocSPARSE: Fix install path (diff)
downloadgentoo-41d6545cb4d18f6fe517cdfdf29968dc04aeae4b.tar.gz
gentoo-41d6545cb4d18f6fe517cdfdf29968dc04aeae4b.tar.bz2
gentoo-41d6545cb4d18f6fe517cdfdf29968dc04aeae4b.zip
sci-libs/hipSPARSE: Fix install path
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild (renamed from sci-libs/hipSPARSE/hipSPARSE-5.1.3.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/hipSPARSE/hipSPARSE-5.1.3.ebuild b/sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild
index d6354b8d77be..21030abf26a0 100644
--- a/sci-libs/hipSPARSE/hipSPARSE-5.1.3.ebuild
+++ b/sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -64,6 +64,9 @@ src_prepare() {
# remove GIT dependency
sed -e "/find_package(Git/d" -i cmake/Dependencies.cmake || die
+ # Fix install path
+ sed -i -e "s.set(CMAKE_INSTALL_LIBDIR.#set(CMAKE_INSTALL_LIBDIR." CMakeLists.txt || die
+
if use test; then
mkdir -p "${BUILD_DIR}"/clients/matrices
# compile and use the mtx2bin converter. Do not use any optimization flags!