diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-19 06:30:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-19 06:30:51 +0000 |
commit | f8bb2d659372d0add11c589dcb006d0b7f8822ae (patch) | |
tree | 5d64f4f593db363260360200660abcd8ff00d1c6 /llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild | |
parent | f57e008aa126ccdca95f7424e4d24a1a83a49682 (diff) |
Diffstat (limited to 'llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild')
-rw-r--r-- | llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild b/llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild index 0b726cf49fa7..a10cab67956c 100644 --- a/llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild +++ b/llvm-runtimes/offload/offload-20.0.0_pre20241215.ebuild @@ -56,6 +56,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 @@ -93,7 +97,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}" |