Message ID | 20250729122448.1067745-1-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [v2,1/3] classes/toolchain/clang: compiler-rt and libcxx are not target-specific | expand |
On Tue Jul 29, 2025 at 2:24 PM CEST, Ross Burton via lists.openembedded.org wrote: > This file can be used for nativesdk builds, which if they are using the > clang toolchain will also need compiler-rt and libcxx. > > Signed-off-by: Ross Burton <ross.burton@arm.com> > --- Hi Ross, Looks better now, but we do have a reproducibility issue: AssertionError: The following deb packages are different and not in exclusion list: /srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/deb/./core2-64/libllvmspirvlib-dbg_20.1.4-r0_amd64.deb /srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/deb/./core2-64/libllvmspirvlib20.1_20.1.4-r0_amd64.deb /srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/deb/./core2-64/lld-dbg_20.1.8-r0_amd64.deb /srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/deb/./core2-64/lld_20.1.8-r0_amd64.deb https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/2184 https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20250729-g9mmstqt/packages/diff-html/
diff --git a/meta/classes/toolchain/clang.bbclass b/meta/classes/toolchain/clang.bbclass index b6ba1fde6fc..f422a01988f 100644 --- a/meta/classes/toolchain/clang.bbclass +++ b/meta/classes/toolchain/clang.bbclass @@ -26,8 +26,7 @@ PREFERRED_PROVIDER_virtual/nativesdk-cross-c++:class-crosssdk = "clang-crosssdk- PREFERRED_PROVIDER_virtual/nativesdk-cross-cc:class-cross-canadian = "clang-crosssdk-${SDK_SYS}" PREFERRED_PROVIDER_virtual/nativesdk-cross-c++:class-cross-canadian = "clang-crosssdk-${SDK_SYS}" - -BASE_DEFAULT_DEPS:append:class-target = " compiler-rt libcxx" +BASE_DEFAULT_DEPS:append = " compiler-rt libcxx" TUNE_CCARGS += "${@bb.utils.contains("DISTRO_FEATURES", "usrmerge", " --dyld-prefix=/usr", "", d)}"
This file can be used for nativesdk builds, which if they are using the clang toolchain will also need compiler-rt and libcxx. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/classes/toolchain/clang.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)