From 0b78317a0be9f3b84274778b60b2a044f7c8e597 Mon Sep 17 00:00:00 2001 From: rosahay <103027015+rosahay-silabs@users.noreply.github.com> Date: Mon, 27 Apr 2026 09:22:55 +0530 Subject: [PATCH] Revert "Temporary disable LTO builds (#640)" This reverts commit 3df76602b6a945c54181cbf20e9f21f87282f432. --- .github/silabs-builds-siwx.json | 21 +++++++++++++++++++++ .github/silabs-builds-sixg301.json | 4 ++++ 2 files changed, 25 insertions(+) diff --git a/.github/silabs-builds-siwx.json b/.github/silabs-builds-siwx.json index 41d442226..413eaf816 100644 --- a/.github/silabs-builds-siwx.json +++ b/.github/silabs-builds-siwx.json @@ -34,6 +34,12 @@ "arguments": ["--output_suffix copy-sources", "--copy-sources"] } ], + "lighting_app": [ + { + "boards": ["brd4338a"], + "arguments": ["--output_suffix lto", "--with_app toolchain_gcc_lto", "--without_app matter_shell,matter_qr_code,matter_lcd"] + } + ], "platform_template": [ { "boards": ["brd4338a", "brd4343a", "brd4342a"], @@ -67,6 +73,16 @@ "arguments": ["--output_suffix m-ota-enc", "--without_app matter_ota_support", "--with_app matter_multi_image_ota,matter_multi_image_ota_encryption,matter_multi_image_custom_processor"] + }, + { + "boards": ["brd4338a", "brd4342a", "brd4343a"], + "arguments": ["--output_suffix lto", + "--with_app toolchain_gcc_lto"] + }, + { + "boards": ["brd4338a", "brd4342a"], + "arguments": ["--output_suffix lto-ota-2", "--with_app toolchain_gcc_lto", + "'--configuration CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION:2,CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING:\"2\"'"] } ], "lock_app" :[ @@ -75,6 +91,11 @@ "arguments": ["--output_suffix ota-2", "'--configuration CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION:2,CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING:\"2\"'"] }, + { + "boards": ["brd4338a", "brd4342a", "brd4343a"], + "arguments": ["--output_suffix lto", + "--with_app toolchain_gcc_lto"] + }, { "boards": ["brd4338a"], "arguments": ["--output_suffix low-power", diff --git a/.github/silabs-builds-sixg301.json b/.github/silabs-builds-sixg301.json index 4d3925889..942f0223d 100644 --- a/.github/silabs-builds-sixg301.json +++ b/.github/silabs-builds-sixg301.json @@ -58,6 +58,10 @@ { "boards": ["brd1019a,SIMG301M113WIH"], "arguments": ["--output_suffix sequential-copy-sources","--with_app matter_zigbee_sequential", "--copy-sources"] + }, + { + "boards": ["brd4407a"], + "arguments": ["--output_suffix lto", "--with_app matter_no_debug,toolchain_gcc_lto", "--without_app matter_shell,matter_qr_code,matter_lcd", "-pids application"] } ], "thermostat": [