From: "Alper Ak" <alperyasinak1@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v5 0/7] cmake: Major version bump to 4.0.3
Date: Tue, 08 Jul 2025 06:13:11 -0700 [thread overview]
Message-ID: <8340.1751980391085408362@lists.openembedded.org> (raw)
In-Reply-To: <DB3PR09MB62022D923A65D95B35ADAF69EA4EA@DB3PR09MB6202.eurprd09.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 2080 bytes --]
>
> I'm happy to support here. I'd agree to what Alper said though: Some way
> of
> coordinating this effort seems to be required. Given the number of
> affected
> recipes it'd also be good to have a temporary branch / fork to prepare the
>
> patches on. Are there some pointers we can follow from previous changes
> of the same kind?
>
>
> One idea I had to possibly speed the process up a bit: For starters, we
> could
> try building the "broken" recipes with
>
>
> -DCMAKE_POLICY_VERSION_MINIMUM=3.5
>
>
> added to
>
>
> EXTRA_OECMAKE
>
>
> possibly via a temporary 'cmake-4-enforce-policy-compat' bbclass or some
> similar
> mechanism. That would be faster then checking upstream for CMake-related
> patches
> and adding them to the tree / recipes.
>
I also considered the idea of temporarily using -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to quickly work around the CMake 4 issues across multiple recipes. Then, I thought that directly upgrading recipes where the upstream version could be updated was more sustainable solution. I believed this would resolve many compatibility issues by relying on upstream fixes and encourage the community to use the latest versions.
However, in cases where upgrading is not possible or incompatibilities persist, adding a small patch (for example, allow-build-with-cmake-4.patch) that sets the minimum required CMake version to 3.5 can provide a sustainable workaround.
On the other hand, applying similar patches across many recipes may require manual cleanup in the future if the issue is eventually resolved upstream. Therefore, it is essential to keep track of synchronization with upstream over the long term.
Before our conversation I made a few things and sent them to meta-openembedded and Khem accepted them to master-next, but I still had the feeling that maybe something better could be done.
https://patchwork.yoctoproject.org/project/oe/list/?submitter=938
As I said, I have the feeling that it can be done better, so I will wait for your answers before I do anything.
[-- Attachment #2: Type: text/html, Size: 2410 bytes --]
next prev parent reply other threads:[~2025-07-08 13:13 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-03 13:27 [PATCH v5 0/7] cmake: Major version bump to 4.0.3 Moritz Haase
2025-07-03 13:27 ` [PATCH v5 1/7] libcomps: Backport patch to support builds with CMake 4+ Moritz Haase
2025-07-03 13:27 ` [PATCH v5 2/7] createrepo-c: Backport patches " Moritz Haase
2025-07-03 13:27 ` [PATCH v5 3/7] apt: Backport patch " Moritz Haase
2025-07-03 13:27 ` [PATCH v5 4/7] libubootenv: " Moritz Haase
2025-07-03 13:27 ` [PATCH v5] musl-locales: Add " Moritz Haase
2025-07-03 13:27 ` [PATCH v5 6/7] libwpe: " Moritz Haase
2025-07-03 13:27 ` [PATCH v5 7/7] cmake: upgrade 3.31.6 -> 4.0.3 Moritz Haase
2025-07-03 13:49 ` Patchtest results for " patchtest
2025-07-04 10:42 ` Haase Moritz, JD-62
2025-07-07 16:53 ` [OE-core] [PATCH v5 0/7] cmake: Major version bump to 4.0.3 Khem Raj
2025-07-07 17:55 ` Alper Ak
2025-07-08 5:45 ` [OE-core] " Haase Moritz, JD-62
2025-07-08 6:08 ` Khem Raj
2025-07-08 13:13 ` Alper Ak [this message]
2025-07-10 6:34 ` Haase Moritz, JD-62
2025-07-10 17:40 ` Khem Raj
2025-07-10 19:10 ` Alper Ak
2025-07-11 2:10 ` Khem Raj
2025-07-11 10:25 ` Haase Moritz, JD-62
2025-07-12 16:22 ` Khem Raj
2025-07-13 5:45 ` Khem Raj
2025-07-14 5:02 ` Khem Raj
2025-07-14 12:16 ` Haase Moritz, JD-62
2025-07-14 17:53 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8340.1751980391085408362@lists.openembedded.org \
--to=alperyasinak1@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox