mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
llvm-runtimes/openmp-spirv64-intel: Add 23.0.0_pre20260605
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST llvm-project-6d4cd34d861baec5a761d15b81395fbe88f4391b.tar.gz 273781215 BLAKE2B 9ca9896ac0cfcb9449bd0975e16aca725e14ce5a4c3afd859799ef056a0e1341d63fa21b9bfd3ec1bee2a8482c5cecdd59482d373db72f083d399748a2396e15 SHA512 407e7d2ae1df19bf6095a953a1506583de91e203c4d0461b85a87f86d2069f2b23114b65c5c7f0065d9fbbf8d657bec6ef489ba9310b89f0bddab22c86cccb04
|
||||
DIST llvm-project-8789401c6f0b2c53ba348860c1b0c5df1fa40c8c.tar.gz 271359638 BLAKE2B 31d1c91b535f129cac4b1da7ce2e6f0765231ebe6a5b1cb83f00d56d68820cdd029f7d2fdf602148e37bc9a22d99b71e25284eab74b8d52fa87ed4636712171f SHA512 4ca908b0b5d7ae9a2b334d033d2c11b557dcc3305b9107017965ae612716beade09a0c73e1a5f5eab1c9794728558d4a981715bb9b01d5ba2c2c5c6c53d1a9b6
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit cmake flag-o-matic llvm.org
|
||||
|
||||
DESCRIPTION="OpenMP target library for spirv64 Intel devices"
|
||||
HOMEPAGE="https://openmp.llvm.org"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
|
||||
SLOT="0/${LLVM_SOABI}"
|
||||
|
||||
BDEPEND="
|
||||
~llvm-core/clang-${PV}:${LLVM_MAJOR}[llvm_targets_SPIRV]
|
||||
llvm-core/lld:${LLVM_MAJOR}[llvm_targets_SPIRV]
|
||||
"
|
||||
|
||||
LLVM_COMPONENTS=(
|
||||
runtimes openmp cmake llvm/{cmake,utils} libc/shared
|
||||
offload/include
|
||||
)
|
||||
llvm.org_set_globals
|
||||
|
||||
src_configure() {
|
||||
local -x CC=${CHOST}-clang-${LLVM_MAJOR}
|
||||
local -x CXX=${CHOST}-clang++-${LLVM_MAJOR}
|
||||
local triple=${PN#openmp-}
|
||||
filter-flags '-m*'
|
||||
strip-unsupported-flags
|
||||
|
||||
# https://github.com/llvm/llvm-project/issues/186598
|
||||
filter-ldflags '-Wl,*'
|
||||
|
||||
local mycmakeargs=(
|
||||
-DLLVM_DEFAULT_TARGET_TRIPLE=${triple}
|
||||
-DLLVM_ENABLE_RUNTIMES=openmp
|
||||
-DOPENMP_INSTALL_LIBDIR="$(get_libdir)/${triple}"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user