Skip to contentSkip to conversation

catch2: Upgrade to 3.x release series

PATCH In review Khem Raj 2 participants 3 messages May 29, 2024 – May 30, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 catch2: Upgrade to 3.x release series

It supports C++20 better and newer compilers e.g. clang19 works better with 3.x series.

---
 .../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%)
meta-oe/recipes-test/catch2/catch2_3.6.0.bb renamed from meta-oe/recipes-test/catch2/catch2_2.13.10.bb +2 -2
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
@@ -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"
 
Signature · 1 line
2.45.1
#1 lore raw

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

Quoted 47 lines · Khem Raj via lists.openembedded.org

It supports C++20 better and newer compilers e.g. clang19 works better with 3.x series.

---
 .../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%)

meta-oe/recipes-test/catch2/catch2_3.6.0.bb renamed from meta-oe/recipes-test/catch2/catch2_2.13.10.bb +0 -0
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
@@ -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"

meta-oe/recipes-test/catch2/catch2_3.6.0.bb renamed from meta-oe/recipes-test/catch2/catch2_2.13.10.bb +1 -1
-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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#2 lore raw
Quoted 6 lines · Theodore A. Roth

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.

Quoted 1 line

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

Thanks

Quoted 44 lines

Ted Roth

Quoted 40 lines · Khem Raj via lists.openembedded.org

It supports C++20 better and newer compilers e.g. clang19 works better with 3.x series.

---
 .../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%)
meta-oe/recipes-test/catch2/catch2_3.6.0.bb renamed from meta-oe/recipes-test/catch2/catch2_2.13.10.bb +2 -3
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
@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-