commit: 154ece10a9374160e04dc82f3dd3a46548cd1c0f Author: Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com> AuthorDate: Sat Jan 28 06:16:06 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 8 04:17:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=154ece10
dev-libs/rocm-opencl-runtime: simplify ebuild 1. Set BUILD_ICD=OFF, because libOpenCL is already provided by dev-libs/opencl-icd-loader 2. Set FILE_REORG_BACKWARD_COMPATIBILITY=OFF for FHS 3. Cleanup unused commands and patches Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29310 Signed-off-by: Sam James <sam <AT> gentoo.org> ....3.3.ebuild => rocm-opencl-runtime-5.3.3-r1.ebuild} | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3.ebuild b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3-r1.ebuild similarity index 86% rename from dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3.ebuild rename to dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3-r1.ebuild index 692863db8e51..88142c6e203e 100644 --- a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3.ebuild +++ b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.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 @@ -27,25 +27,12 @@ BDEPEND=">=dev-util/rocm-cmake-${PV} test? ( >=x11-apps/mesa-progs-8.5.0[X] ) " -PATCHES=( - "${FILESDIR}/${PN}-3.5.0-do-not-install-libopencl.patch" -) - S="${WORKDIR}/ROCm-OpenCL-Runtime-rocm-${PV}" S1="${WORKDIR}/ROCclr-rocm-${PV}" src_prepare() { - # Remove "clinfo" - use "dev-util/clinfo" instead - #[ -d tools/clinfo ] && rm -rf tools/clinfo || die - cmake_src_prepare - hprefixify amdocl/CMakeLists.txt - - sed -e "s/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g" -i packaging/CMakeLists.txt || die - # remove trailing CR or it won't work - sed -e "s/\r$//g" -i tests/ocltst/module/perf/oclperf.exclude || die - pushd ${S1} || die # Bug #753377 # patch re-enables accidentally disabled gfx800 family @@ -64,7 +51,8 @@ src_configure() { -DROCM_PATH="${EPREFIX}/usr" -DBUILD_TESTS=$(usex test ON OFF) -DEMU_ENV=ON - # -DCMAKE_STRIP="" + -DBUILD_ICD=OFF + -DFILE_REORG_BACKWARD_COMPATIBILITY=OFF ) cmake_src_configure }
