diff options
author | 2024-06-25 22:58:01 +0200 | |
---|---|---|
committer | 2024-06-26 10:19:28 +0100 | |
commit | cd5841411628af6aa1ea693b9d477e06658cfec8 (patch) | |
tree | 91406a498e04ae6700afdfe5f996f2bb88ff7dde /dev-util/hip/hip-6.1.1.ebuild | |
parent | dev-util/hip: rename patches (diff) | |
download | gentoo-cd5841411628af6aa1ea693b9d477e06658cfec8.tar.gz gentoo-cd5841411628af6aa1ea693b9d477e06658cfec8.tar.bz2 gentoo-cd5841411628af6aa1ea693b9d477e06658cfec8.zip |
dev-util/hip: 6.1.1 reuse patch
The extend-isa-compatibility-check patch already exists, so reuse it to safe
some space in /files
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/hip/hip-6.1.1.ebuild')
-rw-r--r-- | dev-util/hip/hip-6.1.1.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-util/hip/hip-6.1.1.ebuild b/dev-util/hip/hip-6.1.1.ebuild index ecdf174fed4b..12f75f31f339 100644 --- a/dev-util/hip/hip-6.1.1.ebuild +++ b/dev-util/hip/hip-6.1.1.ebuild @@ -48,7 +48,6 @@ RDEPEND="${DEPEND} PATCHES=( "${FILESDIR}/${PN}-5.7.1-no_asan_doc.patch" "${FILESDIR}/${PN}-6.1.0-install.patch" - "${FILESDIR}/${PN}-6.1.0-extend-isa-compatibility-check.patch" "${FILESDIR}/${PN}-6.1.1-fix-musl.patch" ) @@ -60,6 +59,16 @@ hip_test_wrapper() { } src_prepare() { + # NOTE We do this head stand to safe the patch size. + # NOTE Adjust when we drop 5.7.1 + sed \ + -e 's:kAmdgcnTargetTriple:AMDGCN_TARGET_TRIPLE:g' \ + -i hipamd/src/hip_code_object.cpp || die + eapply "${FILESDIR}/${PN}-5.7.1-extend-isa-compatibility-check.patch" + sed \ + -e 's:AMDGCN_TARGET_TRIPLE:kAmdgcnTargetTriple:g' \ + -i hipamd/src/hip_code_object.cpp || die + # hipamd is itself built by cmake, and should never provide a # FindHIP.cmake module. But the reality is some package relies on it. # Set HIP and HIP Clang paths directly, don't search using heuristics |