From 806b9a5b086bea3d01e3e591ca3354c99d7380c4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 17 Sep 2024 22:05:21 -0700 Subject: [PATCH] python3-cffi: Ad clang to rdeps for ptests to pass ptest tries to compile some portions on the target and demands the compiler that was used to cross-compile it Signed-off-by: Khem Raj --- recipes-devtools/python/python3-cffi_%.bbappend | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 recipes-devtools/python/python3-cffi_%.bbappend diff --git a/recipes-devtools/python/python3-cffi_%.bbappend b/recipes-devtools/python/python3-cffi_%.bbappend new file mode 100644 index 00000000..0628a909 --- /dev/null +++ b/recipes-devtools/python/python3-cffi_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +# tests need compiler on target and they need the compiler which was +# used to build python +RDEPENDS:${PN}-ptest:append:toolchain-clang = " clang"