diff options
Diffstat (limited to 'llvm-runtimes/offload/offload-20.0.0.9999.ebuild')
-rw-r--r-- | llvm-runtimes/offload/offload-20.0.0.9999.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm-runtimes/offload/offload-20.0.0.9999.ebuild b/llvm-runtimes/offload/offload-20.0.0.9999.ebuild index 66a73775d296..a10cab67956c 100644 --- a/llvm-runtimes/offload/offload-20.0.0.9999.ebuild +++ b/llvm-runtimes/offload/offload-20.0.0.9999.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,6 +97,8 @@ src_configure() { fi local mycmakeargs=( + -DLLVM_ROOT="${ESYSROOT}/usr/lib/llvm/${LLVM_MAJOR}" + -DOFFLOAD_LIBDIR_SUFFIX="${libdir#lib}" -DLIBOMPTARGET_PLUGINS_TO_BUILD="${plugins}" -DLIBOMPTARGET_OMPT_SUPPORT="$(usex ompt)" |