On Sun, Aug 30, 2026 at 5:59 AM <[email protected]> wrote:
> From: Sunil Dora <[email protected]> > > 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 <[email protected]> > --- > 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 keeps PACKAGECONFIG ?= "ompt-tools offloading-plugin" — under the runtimes entry point, does offloading-plugin still do anything, or would it now need offload added to LLVM_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/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
