From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/hip/files/, dev-util/hip/
Date: Mon, 12 Sep 2022 08:41:10 +0000 (UTC) [thread overview]
Message-ID: <1662972058.3431032de4948980d3720393331d1a978461911a.heroxbd@gentoo> (raw)
commit: 3431032de4948980d3720393331d1a978461911a
Author: Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Fri Sep 2 08:24:49 2022 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Sep 12 08:40:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3431032d
dev-util/hip: Fix sample install dir
Using patch instead of sed command. In hip develop branch, the syntax
has changed, so use patch can avoid silent failures in the future.
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
.../files/hip-5.1.3-correct-sample-install-location.patch | 13 +++++++++++++
dev-util/hip/hip-5.1.3-r1.ebuild | 1 +
2 files changed, 14 insertions(+)
diff --git a/dev-util/hip/files/hip-5.1.3-correct-sample-install-location.patch b/dev-util/hip/files/hip-5.1.3-correct-sample-install-location.patch
new file mode 100644
index 000000000000..57ac5cc3e992
--- /dev/null
+++ b/dev-util/hip/files/hip-5.1.3-correct-sample-install-location.patch
@@ -0,0 +1,13 @@
+Index: hipamd-rocm-5.1.3/packaging/CMakeLists.txt
+===================================================================
+--- hipamd-rocm-5.1.3.orig/packaging/CMakeLists.txt
++++ hipamd-rocm-5.1.3/packaging/CMakeLists.txt
+@@ -106,7 +106,7 @@ endif()
+ #End doc files install
+
+ #Begin samples files install
+-install(DIRECTORY ${HIP_COMMON_DIR}/samples DESTINATION . COMPONENT samples)
++install(DIRECTORY ${HIP_COMMON_DIR}/samples DESTINATION ${CMAKE_INSTALL_DOCDIR}/ COMPONENT samples)
+ #End samples files install
+
+ #Begin test files install
diff --git a/dev-util/hip/hip-5.1.3-r1.ebuild b/dev-util/hip/hip-5.1.3-r1.ebuild
index 634351aead1f..f9f620fe8170 100644
--- a/dev-util/hip/hip-5.1.3-r1.ebuild
+++ b/dev-util/hip/hip-5.1.3-r1.ebuild
@@ -47,6 +47,7 @@ PATCHES=(
"${FILESDIR}/${PN}-4.2.0-cancel-hcc-header-removal.patch"
"${FILESDIR}/${PN}-5.0.2-set-build-id.patch"
"${FILESDIR}/${PN}-5.1.3-fix-hip_prof_gen.patch"
+ "${FILESDIR}/${PN}-5.1.3-correct-sample-install-location.patch"
"${FILESDIR}/0001-SWDEV-316128-HIP-surface-API-support.patch"
)
next reply other threads:[~2022-09-12 8:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-12 8:41 Benda XU [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-26 9:21 [gentoo-commits] repo/gentoo:master commit in: dev-util/hip/files/, dev-util/hip/ Sam James
2024-03-08 19:22 Sam James
2023-11-19 2:18 Benda XU
2023-09-03 6:37 罗百科
2023-02-06 3:59 Sam James
2023-01-31 13:32 Benda XU
2022-09-12 8:41 Benda XU
2022-06-22 13:03 Benda XU
2022-06-13 12:00 Benda XU
2021-08-26 12:39 Benda XU
2021-08-13 5:08 Benda XU
2021-08-03 6:32 Benda XU
2021-04-11 15:17 Craig Andrews
2020-12-27 1:55 Benda XU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1662972058.3431032de4948980d3720393331d1a978461911a.heroxbd@gentoo \
--to=heroxbd@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox