<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/cmake, branch yocto-5.0.14</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-5.0.14</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-5.0.14'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2025-10-24T13:23:40+00:00</updated>
<entry>
<title>cmake: fix CVE-2025-9301</title>
<updated>2025-10-24T13:23:40+00:00</updated>
<author>
<name>Saravanan</name>
<email>saravanan.kadambathursubramaniyam@windriver.com</email>
</author>
<published>2025-10-16T14:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6d7cfb5461db7d21572795a04c13cae7dc03a989'/>
<id>urn:sha1:6d7cfb5461db7d21572795a04c13cae7dc03a989</id>
<content type='text'>
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-9301
https://gitlab.kitware.com/cmake/cmake/-/issues/27135

Upstream-patch:
https://gitlab.kitware.com/cmake/cmake/-/commit/37e27f71bc356d880c908040cd0cb68fa2c371b8

(From OE-Core rev: 5d8a6fb52ca4a7641236712ba51cb322cb1f9f9d)

Signed-off-by: Saravanan &lt;saravanan.kadambathursubramaniyam@windriver.com&gt;
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>cmake: fix build with gcc-15 on host</title>
<updated>2025-09-01T15:30:56+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2025-08-21T10:58:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c345127b52d21944543882f86b8ddd43e188e87c'/>
<id>urn:sha1:c345127b52d21944543882f86b8ddd43e188e87c</id>
<content type='text'>
(From OE-Core rev: bdfccaa382c1669bff8788e09953c3a770243fab)

Signed-off-by: Martin Jansa &lt;martin.jansa@gmail.com&gt;
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>cmake: Add PACKAGECONFIG option for debugger support</title>
<updated>2025-08-20T14:37:19+00:00</updated>
<author>
<name>Nikhil R</name>
<email>nikhilr5@kpit.com</email>
</author>
<published>2025-08-11T04:58:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=95bbe19b025c5d6451777c57f2f37e202dc30243'/>
<id>urn:sha1:95bbe19b025c5d6451777c57f2f37e202dc30243</id>
<content type='text'>
Starting from CMake version 2.27 support for interactive debugging of CMake
scripts and configurations was added. However, by default the `nativesdk-cmake`
is compiled with debugger support turned off.

This change adds debugger support for cmake

(From OE-Core rev: 8acfca456c3502f0d097ba01a2d08f83fb75ab60)

(From OE-Core rev: 776846eb8aa2f5f8c1ec8842cdbaff6b6bcdfa65)

Signed-off-by: Nikhil R &lt;nikhilr5@kpit.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>cmake: Correctly handle cost data of tests with arbitrary chars in name</title>
<updated>2025-06-25T15:35:10+00:00</updated>
<author>
<name>Moritz Haase</name>
<email>Moritz.Haase@bmw.de</email>
</author>
<published>2025-06-20T06:37:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b8f8125f05e8ece078ba6bf01eebb2900cf2f9bf'/>
<id>urn:sha1:b8f8125f05e8ece078ba6bf01eebb2900cf2f9bf</id>
<content type='text'>
ctest automatically optimizes the order of (parallel) test execution based on
historic test case runtime via the COST property (see [0]), which can have a
significant impact on overall test run times. Sadly this feature is broken in
CMake &lt; 4.0.0 for test cases that have spaces in their name (see [1]).

This commit is a backport of f24178f3 (which itself backports the upstream fix).
The patch was adapted slightly to apply cleanly to the older CMake version in
scarthgap. As repeated test runs are expected to mainly take place inside the
SDK, the patch is only applied to 'nativesdk' builds.

[0]: https://cmake.org/cmake/help/latest/prop_test/COST.html
[1]: https://gitlab.kitware.com/cmake/cmake/-/issues/26594

Reported-By: John Drouhard &lt;john@drouhard.dev&gt;
(From OE-Core rev: cfa97a50e06fb0fcc7cbc0ada54ce7ad5ba29ebe)

Signed-off-by: Moritz Haase &lt;Moritz.Haase@bmw.de&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>cmake: Fix sporadic issues when determining compiler internals</title>
<updated>2024-11-18T14:59:35+00:00</updated>
<author>
<name>Philip Lorenz</name>
<email>philip.lorenz@bmw.de</email>
</author>
<published>2024-11-07T07:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=582da2a157567f4169c675f09a381b343bec9688'/>
<id>urn:sha1:582da2a157567f4169c675f09a381b343bec9688</id>
<content type='text'>
When `-pipe` is enabled, GCC passes data between its different
executables using pipes instead of temporary files. This leads to issues
when cmake attempts to infer compiler internals via the `-v` parameter
as each executable will print to `stderr` in parallel.

In turn this may lead to compilation issues down the line as for example
the system include directories could not be determined properly which
may then propagate to issues such as:

    recipe-sysroot/usr/include/c++/11.3.0/cstdlib:75:15: fatal error:
        stdlib.h: No such file or directory
    |    75 | #include_next &lt;stdlib.h&gt;
    |       |               ^~~~~~~~~~
    | compilation terminated.
    | ninja: build stopped: subcommand failed.
    | WARNING: exit code 1 from a shell command.

Fix this stripping `-pipe` from the command line used to determine
compiler internals.

(From OE-Core rev: ef5c060a939416b4034be1b8b81f9035b23534b7)

Signed-off-by: Philip Lorenz &lt;philip.lorenz@bmw.de&gt;
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>cmake: upgrade 3.27.7 -&gt; 3.28.3</title>
<updated>2024-02-08T17:12:54+00:00</updated>
<author>
<name>Trevor Gamblin</name>
<email>tgamblin@baylibre.com</email>
</author>
<published>2024-02-06T17:20:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0c3818be26434b706ddfbefaea9cf6c78b779261'/>
<id>urn:sha1:0c3818be26434b706ddfbefaea9cf6c78b779261</id>
<content type='text'>
Changelog: https://cmake.org/cmake/help/latest/release/3.28.html

The patch 0001-CMakeLists.txt-disable-USE_NGHTTP2.patch had to be
adjusted to apply cleanly on top of the new source version.

(From OE-Core rev: 64b3832c5c96ee44ccc3da633a065eef33e3e03d)

Signed-off-by: Trevor Gamblin &lt;tgamblin@baylibre.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES</title>
<updated>2023-12-04T11:23:37+00:00</updated>
<author>
<name>Zahir Hussain</name>
<email>zahir.basha@kpit.com</email>
</author>
<published>2023-12-01T12:16:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e7a87eb762fd2d86e2d54fe4e02d4253507a0525'/>
<id>urn:sha1:e7a87eb762fd2d86e2d54fe4e02d4253507a0525</id>
<content type='text'>
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake.

The variable CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES value updates incorrectly
during do_compile the code. Due to this getting sporadic error like below,

fatal error: stdlib.h: No such file or directory
|    75 | #include_next &lt;stdlib.h&gt;
|       |               ^~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.

As cmake already correctly initializes the variable from environment,
So we have to unset it in the toolchain file to avoid overwriting the
variable definition again.

(From OE-Core rev: 5aeada5793af53e8c93940952d4f314474dca4c2)

Signed-off-by: aszh07 &lt;mail2szahir@gmail.com&gt;
Signed-off-by: Zahir Hussain &lt;zahir.basha@kpit.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake: upgrade 3.27.5 -&gt; 3.27.7</title>
<updated>2023-11-30T08:43:04+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2023-11-27T10:17:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c018b6e608488b01ae15c7bf625de4b023128440'/>
<id>urn:sha1:c018b6e608488b01ae15c7bf625de4b023128440</id>
<content type='text'>
(From OE-Core rev: 0faec0c8606b31216702252d0db7aa88388df231)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake: upgrade 3.27.4 -&gt; 3.27.5</title>
<updated>2023-09-26T09:35:27+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2023-09-22T07:23:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5ee3430a384c00d980cf76e3cd4d69c610834349'/>
<id>urn:sha1:5ee3430a384c00d980cf76e3cd4d69c610834349</id>
<content type='text'>
(From OE-Core rev: 9937f1f0f75ac3909cdc3aa8d0e43c417dd74435)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake: upgrade to v3.27.4</title>
<updated>2023-08-30T08:56:13+00:00</updated>
<author>
<name>Sudip Mukherjee</name>
<email>sudipm.mukherjee@gmail.com</email>
</author>
<published>2023-08-26T17:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=81f66af2612d54c544013fc2584e63c94bfaf96d'/>
<id>urn:sha1:81f66af2612d54c544013fc2584e63c94bfaf96d</id>
<content type='text'>
Changes:
Update cmcurl license checksum: change in copyright year.
Update sha256sum for new version.
Use cmake provided cppdap.
Disable debugger.

(From OE-Core rev: 6724382f2a063cfc0a9a79fcbd84b0dc9d2eb45a)

Signed-off-by: Sudip Mukherjee &lt;sudipm.mukherjee@gmail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
