Diff hipBLAS-5.1.3 with a hipBLAS-5.4.2

/usr/portage/sci-libs/hipBLAS/hipBLAS-5.4.2.ebuild 2023-10-09 14:52:35.076368491 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
23 23

  
24 24
S="${WORKDIR}/hipBLAS-rocm-${PV}"
25 25

  
26
src_prepare() {
27
	sed -e "s:<INSTALL_INTERFACE\:include:<INSTALL_INTERFACE\:include/hipblas/:" -i library/src/CMakeLists.txt || die
28
	sed -e "/PREFIX hipblas/d" -i library/src/CMakeLists.txt || die
29
	sed -e "/rocm_install_symlink_subdir( hipblas )/d" -i library/src/CMakeLists.txt || die
30
	sed -e "s:hipblas/include:include/hipblas:" -i library/src/CMakeLists.txt || die
31

  
32
	eapply_user
33
	cmake_src_prepare
34
}
35

  
36 26
src_configure() {
37 27
	local mycmakeargs=(
38
		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
39 28
		-DBUILD_CLIENTS_TESTS=OFF  # currently hipBLAS is a wrapper of rocBLAS which has tests, so no need to perform test here
40 29
		-DBUILD_CLIENTS_BENCHMARKS=OFF
30
		-DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
31
		-DROCM_SYMLINK_LIBS=OFF
41 32
	)
42 33

  
43
	cmake_src_configure
34
	CXX=hipcc cmake_src_configure
44 35
}
Thank you!