diff mbox series

[06/21] rpm: Add openmp dependency when using clang

Message ID 20250518-clang-toolchain-v1-6-5be46f8c4af5@gmail.com
State New
Headers show
Series clang: Add clang C/C++ toolchain | expand

Commit Message

Khem Raj May 18, 2025, 9:30 p.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/rpm/rpm_4.20.0.bb | 1 +
 1 file changed, 1 insertion(+)

Comments

Alexander Kanavin May 20, 2025, 12:35 p.m. UTC | #1
On Sun, 18 May 2025 at 23:30, Khem Raj via lists.openembedded.org
<raj.khem=gmail.com@lists.openembedded.org> wrote:
> +DEPENDS:append:toolchain-clang = " openmp"

One of the other patches sets
TOOLCHAIN:pn-rpm = "gcc"
so this has no effect?

Alex
diff mbox series

Patch

diff --git a/meta/recipes-devtools/rpm/rpm_4.20.0.bb b/meta/recipes-devtools/rpm/rpm_4.20.0.bb
index 281fde1c82904caaa4c0aea94994b3ea3ac47315..7b9ac4a54056a8ae395d20097e85632cd8d20c40 100644
--- a/meta/recipes-devtools/rpm/rpm_4.20.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.20.0.bb
@@ -48,6 +48,7 @@  S = "${WORKDIR}/git"
 
 DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd"
 DEPENDS:append:class-native = " file-replacement-native bzip2-replacement-native"
+DEPENDS:append:toolchain-clang = " openmp"
 
 EXTRA_OECMAKE:append = " -D__CURL:FILEPATH=curl"
 EXTRA_OECMAKE:append:libc-musl = " -DENABLE_NLS=OFF -DENABLE_OPENMP=OFF"