diff mbox series

[meta-oe] catch2: Upgrade to 3.x release series

Message ID 20240529010328.2079536-1-raj.khem@gmail.com
State New
Headers show
Series [meta-oe] catch2: Upgrade to 3.x release series | expand

Commit Message

Khem Raj May 29, 2024, 1:03 a.m. UTC
It supports C++20 better and newer compilers e.g. clang19
works better with 3.x series.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../catch2/{catch2_2.13.10.bb => catch2_3.6.0.bb}             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-test/catch2/{catch2_2.13.10.bb => catch2_3.6.0.bb} (87%)

Comments

Theodore A. Roth May 30, 2024, 7:04 p.m. UTC | #1
FYI: Updating catch2 to v3 breaks the ptest build for libgpiod-1.6.4.

I needed to disable ptests to get it to work for our builds.
The real fix would be to port the libgpiod-1.6.4 code to catch2 v3, but we
want to migrate to libgpiod-2.x soon anyways.

Just giving folks using libgpiod-1.6.4 a heads up on what I found.

Ted Roth

On Tue, May 28, 2024 at 7:03 PM Khem Raj via lists.openembedded.org
<raj.khem=gmail.com@lists.openembedded.org> wrote:

> It supports C++20 better and newer compilers e.g. clang19
> works better with 3.x series.
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  .../catch2/{catch2_2.13.10.bb => catch2_3.6.0.bb}             | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>  rename meta-oe/recipes-test/catch2/{catch2_2.13.10.bb => catch2_3.6.0.bb}
> (87%)
>
> diff --git a/meta-oe/recipes-test/catch2/catch2_2.13.10.bb
> b/meta-oe/recipes-test/catch2/catch2_3.6.0.bb
> similarity index 87%
> rename from meta-oe/recipes-test/catch2/catch2_2.13.10.bb
> rename to meta-oe/recipes-test/catch2/catch2_3.6.0.bb
> index f8080c8f97..52045bd144 100644
> --- a/meta-oe/recipes-test/catch2/catch2_2.13.10.bb
> +++ b/meta-oe/recipes-test/catch2/catch2_3.6.0.bb
> @@ -4,8 +4,8 @@ HOMEPAGE = "https://github.com/catchorg/Catch2"
>  LICENSE = "BSL-1.0"
>  LIC_FILES_CHKSUM =
> "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
>
> -SRC_URI = "git://
> github.com/catchorg/Catch2.git;branch=v2.x;protocol=https"
> -SRCREV = "182c910b4b63ff587a3440e08f84f70497e49a81"
> +SRC_URI = "git://
> github.com/catchorg/Catch2.git;branch=devel;protocol=https"
> +SRCREV = "4e8d92bf02f7d1c8006a0e7a5ecabd8e62d98502"
>
>  S = "${WORKDIR}/git"
>
> --
> 2.45.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#110598):
> https://lists.openembedded.org/g/openembedded-devel/message/110598
> Mute This Topic: https://lists.openembedded.org/mt/106361394/3617677
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> troth@openavr.org]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Khem Raj May 30, 2024, 7:13 p.m. UTC | #2
On Thu, May 30, 2024 at 12:05 PM Theodore A. Roth <troth@openavr.org> wrote:
>
> FYI: Updating catch2 to v3 breaks the ptest build for libgpiod-1.6.4.
>
> I needed to disable ptests to get it to work for our builds.
> The real fix would be to port the libgpiod-1.6.4 code to catch2 v3, but we want to migrate to libgpiod-2.x soon anyways.
>

Yes, I see it break ptest builds as well that's why I have withheld it for now.

> Just giving folks using libgpiod-1.6.4 a heads up on what I found.

Thanks

>
> Ted Roth
>
> On Tue, May 28, 2024 at 7:03 PM Khem Raj via lists.openembedded.org <raj.khem=gmail.com@lists.openembedded.org> wrote:
>>
>> It supports C++20 better and newer compilers e.g. clang19
>> works better with 3.x series.
>>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  .../catch2/{catch2_2.13.10.bb => catch2_3.6.0.bb}             | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>  rename meta-oe/recipes-test/catch2/{catch2_2.13.10.bb => catch2_3.6.0.bb} (87%)
>>
>> diff --git a/meta-oe/recipes-test/catch2/catch2_2.13.10.bb b/meta-oe/recipes-test/catch2/catch2_3.6.0.bb
>> similarity index 87%
>> rename from meta-oe/recipes-test/catch2/catch2_2.13.10.bb
>> rename to meta-oe/recipes-test/catch2/catch2_3.6.0.bb
>> index f8080c8f97..52045bd144 100644
>> --- a/meta-oe/recipes-test/catch2/catch2_2.13.10.bb
>> +++ b/meta-oe/recipes-test/catch2/catch2_3.6.0.bb
>> @@ -4,8 +4,8 @@ HOMEPAGE = "https://github.com/catchorg/Catch2"
>>  LICENSE = "BSL-1.0"
>>  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
>>
>> -SRC_URI = "git://github.com/catchorg/Catch2.git;branch=v2.x;protocol=https"
>> -SRCREV = "182c910b4b63ff587a3440e08f84f70497e49a81"
>> +SRC_URI = "git://github.com/catchorg/Catch2.git;branch=devel;protocol=https"
>> +SRCREV = "4e8d92bf02f7d1c8006a0e7a5ecabd8e62d98502"
>>
>>  S = "${WORKDIR}/git"
>>
>> --
>> 2.45.1
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#110598): https://lists.openembedded.org/g/openembedded-devel/message/110598
>> Mute This Topic: https://lists.openembedded.org/mt/106361394/3617677
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [troth@openavr.org]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
diff mbox series

Patch

diff --git a/meta-oe/recipes-test/catch2/catch2_2.13.10.bb b/meta-oe/recipes-test/catch2/catch2_3.6.0.bb
similarity index 87%
rename from meta-oe/recipes-test/catch2/catch2_2.13.10.bb
rename to meta-oe/recipes-test/catch2/catch2_3.6.0.bb
index f8080c8f97..52045bd144 100644
--- a/meta-oe/recipes-test/catch2/catch2_2.13.10.bb
+++ b/meta-oe/recipes-test/catch2/catch2_3.6.0.bb
@@ -4,8 +4,8 @@  HOMEPAGE = "https://github.com/catchorg/Catch2"
 LICENSE = "BSL-1.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
 
-SRC_URI = "git://github.com/catchorg/Catch2.git;branch=v2.x;protocol=https"
-SRCREV = "182c910b4b63ff587a3440e08f84f70497e49a81"
+SRC_URI = "git://github.com/catchorg/Catch2.git;branch=devel;protocol=https"
+SRCREV = "4e8d92bf02f7d1c8006a0e7a5ecabd8e62d98502"
 
 S = "${WORKDIR}/git"