summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiyang Wu <xgreenlandforwyy@gmail.com>2022-06-22 20:50:52 +0800
committerBenda Xu <heroxbd@gentoo.org>2022-06-22 21:21:46 +0800
commit8478a19fa160b05830b88089ded071558c2b3cfa (patch)
tree5b3febf11441ed5239ff7999ba90dac1cd01545a /dev-libs/rocr-runtime
parentdev-python/ujson: Stabilize 5.3.0 arm64, #853358 (diff)
downloadgentoo-8478a19fa160b05830b88089ded071558c2b3cfa.tar.gz
gentoo-8478a19fa160b05830b88089ded071558c2b3cfa.tar.bz2
gentoo-8478a19fa160b05830b88089ded071558c2b3cfa.zip
dev-libs/rocr-runtime: re-enable the cmake-install-dir.patch
This partially reverts 1d2b6d182c6d7945ec5166803ca. Suggested-By: Shunsuke Shimizu, Patrice Levesque Closes: https://github.com/gentoo/gentoo/pull/26039 Bug: https://bugs.gentoo.org/716948 Closes: https://bugs.gentoo.org/832850 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-libs/rocr-runtime')
-rw-r--r--dev-libs/rocr-runtime/files/rocr-runtime-4.3.0_no-aqlprofiler.patch (renamed from dev-libs/rocr-runtime/files/rocr-runtime-4.3.0_no-sqlprofiler.patch)0
-rw-r--r--dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild3
2 files changed, 1 insertions, 2 deletions
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
index fdb34b75b2d2..fdb34b75b2d2 100644
--- 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
diff --git a/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild b/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild
index 2be1fb23feb6..fc1b4b73bd0a 100644
--- a/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild
+++ b/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild
@@ -19,6 +19,7 @@ DESCRIPTION="Radeon Open Compute Runtime"
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCR-Runtime"
PATCHES=(
"${FILESDIR}/${PN}-4.1.0-cmake-install-paths.patch"
+ "${FILESDIR}/${PN}-4.3.0_no-aqlprofiler.patch"
)
LICENSE="MIT"
@@ -33,8 +34,6 @@ DEPEND="${COMMON_DEPEND}
BDEPEND="app-editors/vim-core"
# vim-core is needed for "xxd"
-PATCHES=( "${FILESDIR}"/${PN}-4.3.0_no-sqlprofiler.patch )
-
src_prepare() {
# ... otherwise system llvm/clang is used ...
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