Diff rocSOLVER-5.1.3-r1 with a rocSOLVER-5.4.2

/usr/portage/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild 2023-10-09 14:52:35.096368491 +0300
27 27
	>=dev-util/cmake-3.22
28 28
	virtual/blas )"
29 29

  
30
PATCHES=(
31
	"${FILESDIR}/${PN}-4.2.0-add-stdint-header.patch"
32
	"${FILESDIR}/${PN}-5.0.2-libfmt8.patch"
33
)
30
PATCHES=( "${FILESDIR}"/${PN}-5.4.2-libfmt9.patch )
34 31

  
35 32
RESTRICT="!test? ( test )"
36 33

  
37 34
S=${WORKDIR}/${PN}-rocm-${PV}
38 35

  
39
src_prepare() {
40
	sed -e "s: PREFIX rocsolver:# PREFIX rocsolver:" -i library/src/CMakeLists.txt
41
	sed -e "s:\$<INSTALL_INTERFACE\:include>:\$<INSTALL_INTERFACE\:include/rocsolver>:" -i library/src/CMakeLists.txt
42
	sed -e "s:rocm_install_symlink_subdir( rocsolver ):#rocm_install_symlink_subdir( rocsolver ):" -i library/src/CMakeLists.txt
43

  
44
	cmake_src_prepare
45
}
46

  
47 36
src_configure() {
48 37
	# avoid sandbox violation
49 38
	addpredict /dev/kfd
......
53 42
		-DCMAKE_SKIP_RPATH=On
54 43
		-DAMDGPU_TARGETS="$(get_amdgpu_flags)"
55 44
		-Wno-dev
56
		-DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include/rocsolver"
45
		-DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
46
		-DROCM_SYMLINK_LIBS=OFF
57 47
		-DBUILD_CLIENTS_SAMPLES=NO
58 48
		-DBUILD_CLIENTS_TESTS=$(usex test ON OFF)
59 49
		-DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF)
Thank you!