summaryrefslogtreecommitdiff
path: root/llvm-runtimes/offload/offload-19.1.6.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-19 06:30:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-19 06:30:51 +0000
commitf8bb2d659372d0add11c589dcb006d0b7f8822ae (patch)
tree5d64f4f593db363260360200660abcd8ff00d1c6 /llvm-runtimes/offload/offload-19.1.6.ebuild
parentf57e008aa126ccdca95f7424e4d24a1a83a49682 (diff)
gentoo auto-resync : 19:12:2024 - 06:30:51HEADmaster
Diffstat (limited to 'llvm-runtimes/offload/offload-19.1.6.ebuild')
-rw-r--r--llvm-runtimes/offload/offload-19.1.6.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm-runtimes/offload/offload-19.1.6.ebuild b/llvm-runtimes/offload/offload-19.1.6.ebuild
index dfd8e699dfa1..7c7f2f70cb2c 100644
--- a/llvm-runtimes/offload/offload-19.1.6.ebuild
+++ b/llvm-runtimes/offload/offload-19.1.6.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://openmp.llvm.org"
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
SLOT="0/${LLVM_SOABI}"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
IUSE="+debug ompt test llvm_targets_AMDGPU llvm_targets_NVPTX"
RESTRICT="!test? ( test )"
@@ -58,6 +58,10 @@ pkg_pretend() {
fi
}
+python_check_deps() {
+ python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
pkg_setup() {
if use test; then
python-any-r1_pkg_setup
@@ -99,7 +103,7 @@ src_configure() {
fi
local mycmakeargs=(
- -DCMAKE_PREFIX_PATH="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
+ -DLLVM_ROOT="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}"
-DOFFLOAD_LIBDIR_SUFFIX="${libdir#lib}"
-DLIBOMPTARGET_PLUGINS_TO_BUILD="${plugins}"