<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/stintel/scripts/check-toolchain-clean.sh, branch master</title>
<subtitle>Staging tree of Stijn Tintel</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/'/>
<updated>2022-02-28T14:17:11Z</updated>
<entry>
<title>check-toolchain-clean.sh: workaround stray rebuilds</title>
<updated>2022-02-28T14:17:11Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2022-02-24T16:37:45Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=57f7a86c681b70c688f51e26d31e45baf64ac5f9'/>
<id>urn:sha1:57f7a86c681b70c688f51e26d31e45baf64ac5f9</id>
<content type='text'>
It seems, that there are currently some unhandled corner cases in which
`.toolchain_build_ver` results in empty file and thus forcing rebuilds,
even if the toolchain was build correctly just a few moments ago. Until
proper fix is found, workaround that by checking for this corner case
and simply populate `.toolchain_build_ver` file.

While at it, improve the UX and display version mismatch, so it's more
clear what has forced the rebuild:

 "Toolchain build version changed (11.2.0-1 != ), running make targetclean"

References: https://gitlab.com/ynezz/openwrt/-/jobs/2133332533/raw
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>check-toolchain-clean.sh: fix shellcheck warnings</title>
<updated>2022-02-28T14:17:11Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2022-02-25T10:15:45Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=9116096c0f1abe3cdb07ad9c9340dd4ca65ce797'/>
<id>urn:sha1:9116096c0f1abe3cdb07ad9c9340dd4ca65ce797</id>
<content type='text'>
Fixes following complaints and suggestions:

 In scripts/check-toolchain-clean.sh line 2:
 eval `grep CONFIG_GCC_VERSION .config`
      ^-- SC2046 (warning): Quote this to prevent word splitting.
      ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>toolchain: add a version that can be bumped to force toolchain/target rebuild</title>
<updated>2021-11-16T21:02:45Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-11-16T20:46:21Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=db34b93331e91bdb2cbc15d17632aaaab7217a6d'/>
<id>urn:sha1:db34b93331e91bdb2cbc15d17632aaaab7217a6d</id>
<content type='text'>
This can be used to ensure that the compiled code is up to date, when
something important changes in the toolchain.
A recent example of this is the gcc 11 fix for a code miscompilation issue

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
