summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiyang Wu <xgreenlandforwyy@gmail.com>2023-10-21 14:35:35 +0800
committerYixun Lan <dlan@gentoo.org>2023-11-01 09:27:34 +0000
commit73f080c60d16838845a962306c50a47a53afbda0 (patch)
tree34d6f7df593ee234e7cfc6d3cb8358b89092ef8f
parentdev-libs/rocm-comgr: Bump fix-test.patch as well (diff)
downloadgentoo-73f080c60d16838845a962306c50a47a53afbda0.tar.gz
gentoo-73f080c60d16838845a962306c50a47a53afbda0.tar.bz2
gentoo-73f080c60d16838845a962306c50a47a53afbda0.zip
dev-libs/rocm-comgr: remove non-FHS license install
Closes: https://github.com/gentoo/gentoo/pull/33436 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
-rw-r--r--dev-libs/rocm-comgr/files/rocm-comgr-5.7.1-correct-license-install-dir.patch16
-rw-r--r--dev-libs/rocm-comgr/rocm-comgr-5.7.1.ebuild1
2 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/rocm-comgr/files/rocm-comgr-5.7.1-correct-license-install-dir.patch b/dev-libs/rocm-comgr/files/rocm-comgr-5.7.1-correct-license-install-dir.patch
new file mode 100644
index 000000000000..8ec2c710d3ad
--- /dev/null
+++ b/dev-libs/rocm-comgr/files/rocm-comgr-5.7.1-correct-license-install-dir.patch
@@ -0,0 +1,16 @@
+Do not install same license for -asan, which avoids QA warning
+Upstream issue: https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/issues/61
+===================================================================
+--- comgr.orig/CMakeLists.txt
++++ comgr/CMakeLists.txt
+@@ -281,10 +281,6 @@ install(FILES
+ "NOTICES.txt"
+ COMPONENT amd-comgr
+ DESTINATION ${CMAKE_INSTALL_DOCDIR})
+-install(FILES
+- "LICENSE.txt"
+- COMPONENT asan
+- DESTINATION ${CMAKE_INSTALL_DOCDIR}-asan)
+
+ # Generate the install-tree package.
+ set(AMD_COMGR_PREFIX_CODE "
diff --git a/dev-libs/rocm-comgr/rocm-comgr-5.7.1.ebuild b/dev-libs/rocm-comgr/rocm-comgr-5.7.1.ebuild
index dd4856872ff2..ff181f1b4615 100644
--- a/dev-libs/rocm-comgr/rocm-comgr-5.7.1.ebuild
+++ b/dev-libs/rocm-comgr/rocm-comgr-5.7.1.ebuild
@@ -30,6 +30,7 @@ PATCHES=(
"${FILESDIR}/${PN}-5.7.0-metadata.patch"
"${FILESDIR}/${PN}-5.7.0-symbolizer.patch"
"${FILESDIR}/${PN}-5.7.1-fix-tests.patch"
+ "${FILESDIR}/${PN}-5.7.1-correct-license-install-dir.patch"
)
DESCRIPTION="Radeon Open Compute Code Object Manager"