commit: 1a83439cff2e1fc66feebb78f2f8191fae08c51b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 17 21:35:59 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Dec 17 21:37:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a83439c
llvm-runtimes/offload: Pass CMAKE_PREFIX_PATH in 20.0.0.9999
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild
b/llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild
index 66a73775d296..0b726cf49fa7 100644
--- a/llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild
+++ b/llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild
@@ -93,6 +93,8 @@ src_configure() {
fi
local mycmakeargs=(
+ -DCMAKE_PREFIX_PATH="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+
-DOFFLOAD_LIBDIR_SUFFIX="${libdir#lib}"
-DLIBOMPTARGET_PLUGINS_TO_BUILD="${plugins}"
-DLIBOMPTARGET_OMPT_SUPPORT="$(usex ompt)"