commit: cad2e3befc51047cde602e32e21799207cc0b53f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 21 10:47:11 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 21 11:08:34 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad2e3be
llvm-runtimes/openmp: Update for build changes in 23.x
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
llvm-runtimes/openmp/openmp-23.0.0.9999.ebuild | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/llvm-runtimes/openmp/openmp-23.0.0.9999.ebuild
b/llvm-runtimes/openmp/openmp-23.0.0.9999.ebuild
index 0b865355f210..88edaca69454 100644
--- a/llvm-runtimes/openmp/openmp-23.0.0.9999.ebuild
+++ b/llvm-runtimes/openmp/openmp-23.0.0.9999.ebuild
@@ -39,7 +39,10 @@ BDEPEND="
)
"
-LLVM_COMPONENTS=( runtimes openmp cmake llvm/{cmake,include,utils/llvm-lit} )
+LLVM_COMPONENTS=(
+ runtimes openmp cmake llvm/{cmake,include,utils/llvm-lit}
+ third-party/unittest
+)
llvm.org_set_globals
pkg_setup() {
@@ -58,8 +61,8 @@ multilib_src_configure() {
local libdir="$(get_libdir)"
local mycmakeargs=(
-DLLVM_ENABLE_RUNTIMES=openmp
- -DOPENMP_STANDALONE_BUILD=ON
- -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+ -DLLVM_LIBDIR_SUFFIX="${libdir#lib}"
+ -DLLVM_BINARY_DIR="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}"
-DLIBOMP_USE_HWLOC=$(usex hwloc)
-DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
@@ -72,10 +75,7 @@ multilib_src_configure() {
)
use test && mycmakeargs+=(
- # this project does not use standard LLVM cmake macros
- -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
- -DOPENMP_LIT_ARGS="$(get_lit_flags)"
-
+ -DLLVM_LIT_ARGS="$(get_lit_flags)"
-DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
# disable Fortran tests for now