Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocr-runtime/, dev-libs/rocr-runtime/files/
Date: Wed, 22 Jun 2022 13:22:00
Message-Id: 1655904106.8478a19fa160b05830b88089ded071558c2b3cfa.heroxbd@gentoo
1 commit: 8478a19fa160b05830b88089ded071558c2b3cfa
2 Author: Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
3 AuthorDate: Wed Jun 22 12:50:52 2022 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 22 13:21:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8478a19f
7
8 dev-libs/rocr-runtime: re-enable the cmake-install-dir.patch
9
10 This partially reverts 1d2b6d182c6d7945ec5166803ca.
11
12 Suggested-By: Shunsuke Shimizu, Patrice Levesque
13 Closes: https://github.com/gentoo/gentoo/pull/26039
14 Bug: https://bugs.gentoo.org/716948
15 Closes: https://bugs.gentoo.org/832850
16 Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
17 Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
18
19 ....0_no-sqlprofiler.patch => rocr-runtime-4.3.0_no-aqlprofiler.patch} | 0
20 dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild | 3 +--
21 2 files changed, 1 insertion(+), 2 deletions(-)
22
23 diff --git a/dev-libs/rocr-runtime/files/rocr-runtime-4.3.0_no-sqlprofiler.patch b/dev-libs/rocr-runtime/files/rocr-runtime-4.3.0_no-aqlprofiler.patch
24 similarity index 100%
25 rename from dev-libs/rocr-runtime/files/rocr-runtime-4.3.0_no-sqlprofiler.patch
26 rename to dev-libs/rocr-runtime/files/rocr-runtime-4.3.0_no-aqlprofiler.patch
27
28 diff --git a/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild b/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild
29 index 2be1fb23feb6..fc1b4b73bd0a 100644
30 --- a/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild
31 +++ b/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild
32 @@ -19,6 +19,7 @@ DESCRIPTION="Radeon Open Compute Runtime"
33 HOMEPAGE="https://github.com/RadeonOpenCompute/ROCR-Runtime"
34 PATCHES=(
35 "${FILESDIR}/${PN}-4.1.0-cmake-install-paths.patch"
36 + "${FILESDIR}/${PN}-4.3.0_no-aqlprofiler.patch"
37 )
38
39 LICENSE="MIT"
40 @@ -33,8 +34,6 @@ DEPEND="${COMMON_DEPEND}
41 BDEPEND="app-editors/vim-core"
42 # vim-core is needed for "xxd"
43
44 -PATCHES=( "${FILESDIR}"/${PN}-4.3.0_no-sqlprofiler.patch )
45 -
46 src_prepare() {
47 # ... otherwise system llvm/clang is used ...
48 sed -e "s:find_package(Clang REQUIRED HINTS \${CMAKE_INSTALL_PREFIX}/llvm \${CMAKE_PREFIX_PATH}/llvm PATHS /opt/rocm/llvm ):find_package(Clang REQUIRED HINTS ${EPREFIX}/usr/lib/llvm/roc ):" -i image/blit_src/CMakeLists.txt || die