<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/buildman/test.py, branch v2024.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/tools/buildman/test.py?h=v2024.10</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/tools/buildman/test.py?h=v2024.10'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2024-07-08T15:12:34Z</updated>
<entry>
<title>Revert "buildman: Always use the full path in CROSS_COMPILE"</title>
<updated>2024-07-08T15:12:34Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2024-07-05T20:34:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e13fcae3fce8b2c4db86339c9e8bafdd403f22b5'/>
<id>urn:sha1:e13fcae3fce8b2c4db86339c9e8bafdd403f22b5</id>
<content type='text'>
There are operations in buildman that result in running the cross-tools
(such as performing size checks) and now that we have not modified PATH
to know where our tools are, these operations fail.

This reverts commit 6c0a3cf75f72370deec3ee516a9dd377397af207.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>buildman: Always use the full path in CROSS_COMPILE</title>
<updated>2024-07-03T06:36:33Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2024-06-23T17:56:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6c0a3cf75f72370deec3ee516a9dd377397af207'/>
<id>urn:sha1:6c0a3cf75f72370deec3ee516a9dd377397af207</id>
<content type='text'>
The feature to set the toolchain path does not seem to be needed. It
causes problems with venv (see [1]). Let's remove it.

Add some tests while we are here.

It does not look like any docs changes are needed for this.

[1] https://patchwork.ozlabs.org/project/uboot/patch/20240621131423.2363294-6-sjg@chromium.org/

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Suggested-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Andrejs Cainikovs &lt;andrejs.cainikovs@toradex.com&gt;
</content>
</entry>
<entry>
<title>buildman: Add a way to limit the number of buildmans</title>
<updated>2024-07-03T06:36:33Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2024-06-23T17:55:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5d679f801d05fb728678c23d75d0113512e43cca'/>
<id>urn:sha1:5d679f801d05fb728678c23d75d0113512e43cca</id>
<content type='text'>
Buildman uses all available CPUs by default, so running more than one or
two concurrent processes is not normally useful.

However in some CI cases we want to be able to run several jobs at once
to save time. For example, in a lab situation we may want to run a test
on 20 boards at a time, since only the build step actually takes much
CPU.

Add an option which allows such a limit. When buildman starts up, it
waits until the number of running processes goes below the limit, then
claims a spot in the list. The list is maintained with a temporary file.

Note that the temp file is user-specific, since it is hard to create a
locked temporary file which can be accessed by any user. In most cases,
only one user is running jobs on a machine, so this should not matter.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>tools: binman: fix deprecated Python unittest methods</title>
<updated>2024-07-03T06:36:33Z</updated>
<author>
<name>Brandon Maier</name>
<email>brandon.maier@collins.com</email>
</author>
<published>2024-06-04T16:16:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=357bfca5e616c7fc003cce1ddda44016660cf75f'/>
<id>urn:sha1:357bfca5e616c7fc003cce1ddda44016660cf75f</id>
<content type='text'>
The methods `unittest.assertEquals()` and
`unittest.assertRegexpMatches()` are marked deprecated[1].

In Python 3.12 these aliases have been removed, so do a sed to replace
them with their new names.

[1] https://docs.python.org/3.11/library/unittest.html#deprecated-aliases

Signed-off-by: Brandon Maier &lt;brandon.maier@collins.com&gt;
CC: Simon Glass &lt;sjg@chromium.org&gt;
CC: Alper Nebi Yasak &lt;alpernebiyasak@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>tools: typo arguemnts</title>
<updated>2024-05-03T18:22:58Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2024-04-19T11:37:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d881da3b424c1b8c6e7fa1b832264800a5b03c4f'/>
<id>urn:sha1:d881da3b424c1b8c6e7fa1b832264800a5b03c4f</id>
<content type='text'>
%s/arguemnts/arguemnts/

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</content>
</entry>
<entry>
<title>buildman: Export _get_output_dir() to avoid warnings</title>
<updated>2023-07-24T15:34:11Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-07-19T23:49:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4a7419bfbbeae2838422b13fce06d83f30491d70'/>
<id>urn:sha1:4a7419bfbbeae2838422b13fce06d83f30491d70</id>
<content type='text'>
Make this a public memory since it is used outside the class.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Convert camel case in builder.py</title>
<updated>2023-07-24T15:34:11Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-07-19T23:49:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=37edf5fc0334034b2358e0d7a13fb5e20cc08b22'/>
<id>urn:sha1:37edf5fc0334034b2358e0d7a13fb5e20cc08b22</id>
<content type='text'>
Convert this file to snake case and update all files which use it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Convert camel case in bsettings.py</title>
<updated>2023-07-24T15:34:11Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-07-19T23:49:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=42d42cf1d9c6daca09c40c06b7848dd550f0810b'/>
<id>urn:sha1:42d42cf1d9c6daca09c40c06b7848dd550f0810b</id>
<content type='text'>
Convert this file to snake case and update all files which use it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Convert camel case in control.py</title>
<updated>2023-07-24T15:34:10Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-07-19T23:48:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9ef05b950e47f4ca44bda7f0161180068ede0334'/>
<id>urn:sha1:9ef05b950e47f4ca44bda7f0161180068ede0334</id>
<content type='text'>
Convert this file to snake case and update all files which use it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Move library functions into a library directory</title>
<updated>2023-03-08T19:40:49Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-02-24T01:18:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4583c00236efd4ee768ff874f92526c229891a05'/>
<id>urn:sha1:4583c00236efd4ee768ff874f92526c229891a05</id>
<content type='text'>
The patman directory has a number of modules which are used by other tools
in U-Boot. This makes it hard to package the tools using pypi since the
common files must be copied along with the tool that uses them.

To address this, move these files into a new u_boot_pylib library. This
can be packaged separately and listed as a dependency of each tool.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
