summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSv. Lockal <lockalsash@gmail.com>2024-02-18 11:57:10 +0000
committerSam James <sam@gentoo.org>2024-03-08 19:22:06 +0000
commit2d572c991d49cdd8588264cdcf8ef1fd5e40adad (patch)
tree2dd86b6aae090080559209e07dc292b7c875c389 /dev-util/hip
parentdev-util/hip: add backported fix for OOM check (diff)
downloadgentoo-2d572c991d49cdd8588264cdcf8ef1fd5e40adad.tar.gz
gentoo-2d572c991d49cdd8588264cdcf8ef1fd5e40adad.tar.bz2
gentoo-2d572c991d49cdd8588264cdcf8ef1fd5e40adad.zip
dev-util/hip: workaround for ld.lld hipExtModuleLaunchKernel symbol not defined error
Bug: https://bugs.gentoo.org/923986 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/hip')
-rw-r--r--dev-util/hip/hip-5.7.1-r2.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-util/hip/hip-5.7.1-r2.ebuild b/dev-util/hip/hip-5.7.1-r2.ebuild
index 034378272f53..35d67cf0be55 100644
--- a/dev-util/hip/hip-5.7.1-r2.ebuild
+++ b/dev-util/hip/hip-5.7.1-r2.ebuild
@@ -7,7 +7,7 @@ DOCS_BUILDER="doxygen"
DOCS_DEPEND="media-gfx/graphviz"
ROCM_SKIP_GLOBALS=1
-inherit cmake docs llvm rocm
+inherit cmake docs llvm rocm flag-o-matic
LLVM_MAX_SLOT=17
@@ -81,6 +81,9 @@ src_prepare() {
}
src_configure() {
+ # Workaround for bug #923986
+ append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
use debug && CMAKE_BUILD_TYPE="Debug"
local mycmakeargs=(