From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8CDE415800F for ; Wed, 8 Feb 2023 04:18:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9663BE07D8; Wed, 8 Feb 2023 04:18:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71307E07D8 for ; Wed, 8 Feb 2023 04:18:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8DC88340E24 for ; Wed, 8 Feb 2023 04:18:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5EBBB7FB for ; Wed, 8 Feb 2023 04:18:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1675829841.154ece10a9374160e04dc82f3dd3a46548cd1c0f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocm-opencl-runtime/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3-r1.ebuild dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3.ebuild X-VCS-Directories: dev-libs/rocm-opencl-runtime/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 154ece10a9374160e04dc82f3dd3a46548cd1c0f X-VCS-Branch: master Date: Wed, 8 Feb 2023 04:18:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4a6d47f8-201f-4f87-9846-d078c6858924 X-Archives-Hash: 702f3e5c72da7dfab928489c187acfdf commit: 154ece10a9374160e04dc82f3dd3a46548cd1c0f Author: Yiyang Wu gmail com> AuthorDate: Sat Jan 28 06:16:06 2023 +0000 Commit: Sam James gentoo 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 gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29310 Signed-off-by: Sam James 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 }