]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
fragments/autobuilder: add go to SDK_TOOLCHAIN_LANGS
authorAlexander Kanavin <alex@linutronix.de>
Tue, 19 Aug 2025 11:56:51 +0000 (13:56 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Aug 2025 20:47:33 +0000 (21:47 +0100)
For reasons unknown, only rust was listed, which means
nativesdk-go was not built or tested, which lead to
breakage like one fixed in
https://git.yoctoproject.org/poky/commit/?id=a669cd2e0c760da9d7e872daea9590fc9e86d766

Note that with this change only building and installing go
into SDKsis tested, but no tests are performed with the
toolchain itself in testsdk/testimage.

For that, a bug has been filed:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15953

Remove go from x32 and mingw targets as it will not build for them.
(next to similar removals for rust)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/populate_sdk_base.bbclass
meta/conf/fragments/yocto-autobuilder/autobuilder.conf

index e6685cde97bb97cb2698eee9c8c887910e2569de..948e6334ee05747fcea659379b855bb189b4fe8c 100644 (file)
@@ -62,6 +62,9 @@ SDK_TOOLCHAIN_LANGS ??= ""
 SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "rust"
 # libstd-rs doesn't build for mips n32 with compiler constraint errors
 SDK_TOOLCHAIN_LANGS:remove:mipsarchn32 = "rust"
+# go will not build for x86-x32 or mingw
+SDK_TOOLCHAIN_LANGS:remove:linux-gnux32 = "go"
+SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "go"
 
 TOOLCHAIN_HOST_TASK ?= " \
     nativesdk-packagegroup-sdk-host \
index e3bac343390018cb350f7e8bac832bddc49f42fa..85987b08995a373d4b8e2c694a26554a5875d1c0 100644 (file)
@@ -9,5 +9,5 @@ IMAGE_CLASSES += 'testimage'
 SDK_EXT_TYPE = 'minimal'
 SDK_INCLUDE_TOOLCHAIN = '1'
 ESDK_LOCALCONF_REMOVE:append = 'BB_HASHSERVE'
-SDK_TOOLCHAIN_LANGS += 'rust'
+SDK_TOOLCHAIN_LANGS += 'go rust'