Сравнение rocm-smi-5.1.3-r1 с rocm-smi-5.4.2

/usr/portage/dev-util/rocm-smi/rocm-smi-5.4.2.ebuild 2023-10-09 14:52:30.996368388 +0300
31 31

  
32 32
PATCHES=(
33 33
	"${FILESDIR}"/${PN}-5.0.2-gcc12-memcpy.patch
34
	"${FILESDIR}"/${PN}-5.1.3-detect-builtin-amdgpu.patch
34
	"${FILESDIR}"/${PN}-5.4.2-detect-builtin-amdgpu.patch
35 35
)
36 36

  
37 37
src_prepare() {
38
	sed -e "/DESTINATION/s,\${OAM_NAME}/lib,$(get_libdir)," \
39
		-e "/DESTINATION/s,oam/include/oam,include/oam," -i oam/CMakeLists.txt || die
40
	sed -e "/link DESTINATION/,+1d" \
41
		-e "/DESTINATION/s,\${ROCM_SMI}/lib,$(get_libdir)," \
42
		-e "/bindings_link/,+3d" \
43
		-e "/rsmiBindings.py/,+1d" \
44
		-e "/DESTINATION/s,rocm_smi/include/rocm_smi,include/rocm_smi," -i rocm_smi/CMakeLists.txt || die
45
	sed -e "/LICENSE.txt/d" -e "s,\${ROCM_SMI}/lib/cmake,$(get_libdir)/cmake,g" -i CMakeLists.txt || die
46
	sed -e "/^path_librocm = /c\path_librocm = '${EPREFIX}/usr/lib64/librocm_smi64.so'" -i python_smi_tools/rsmiBindings.py || die
38
	sed -e "/LICENSE.txt/d" -i CMakeLists.txt || die
39
	sed -e "/^path_librocm = /c\path_librocm = '${EPREFIX}/usr/lib64/librocm_smi64.so'" \
40
		-i python_smi_tools/rsmiBindings.py || die
47 41
	cmake_src_prepare
48 42
}
49 43

  
......
51 45
	local mycmakeargs=(
52 46
		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
53 47
		-DCMAKE_DISABLE_FIND_PACKAGE_LATEX=ON
48
		-DFILE_REORG_BACKWARD_COMPATIBILITY=OFF
54 49
	)
55 50
	cmake_src_configure
56 51
}
Спасибо!