It doesn't do anything for the build, and it didn't with the old entry point either. It passes no cmake flags and the build dependsCAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.
On Sun, Aug 30, 2026 at 5:59 AM <sunilkumar.dora@windriver.com> wrote:
From: Sunil Dora <sunilkumar.dora@windriver.com>
LLVM 23 removed the standalone build mode for openmp, so do_configure
fails with
The legacy standalone build mode has been removed
Configure it through the runtimes build with LLVM_ENABLE_RUNTIMES=openmp,
the same way libcxx is built.
The runtimes build reads LLVM_LIBDIR_SUFFIX; nothing in LLVM 23 reads
OPENMP_LIBDIR_SUFFIX any more, so pass the standard variable like the
other clang-family recipes do. Without it openmp installs into lib/
while a multilib configuration packages lib64/, and do_package fails
with "installed but not shipped" for libomp.so, libarcher.so,
libompd.so and the cmake files.
Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
---
meta/recipes-devtools/clang/openmp_git.bb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/clang/openmp_git.bb b/meta/recipes-devtools/clang/openmp_git.bb
index 2ba83d48c6..90d4911623 100644
--- a/meta/recipes-devtools/clang/openmp_git.bb
+++ b/meta/recipes-devtools/clang/openmp_git.bb
@@ -18,10 +18,11 @@ inherit cmake pkgconfig python3targetconfig
DEPENDS += "elfutils libffi clang"
EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DOPENMP_LIBDIR_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
+ -DLLVM_ENABLE_RUNTIMES=openmp \
+ -DLLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX} \
The recipe keepsPACKAGECONFIG ?= "ompt-tools offloading-plugin"— under the runtimes entry point, doesoffloading-pluginstill do anything, or would it now needoffloadadded toLLVM_ENABLE_RUNTIMES?
"
-OECMAKE_SOURCEPATH = "${S}/openmp"
+OECMAKE_SOURCEPATH = "${S}/runtimes"
PACKAGECONFIG ?= "ompt-tools offloading-plugin"
--
2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#244694): https://lists.openembedded.org/g/openembedded-core/message/244694 Mute This Topic: https://lists.openembedded.org/mt/120998125/8968818 Group Owner: openembedded-core+owner@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [SunilKumar.Dora@windriver.com] -=-=-=-=-=-=-=-=-=-=-=-