sci-libs/hipSPARSE: Fix install path

Signed-off-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
Patrick Lauer
2023-03-02 16:29:27 +00:00
parent 16604ee625
commit 41d6545cb4

View File

@@ -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!