Browse Source

Update Catch2 to latest version (v2.13.8) (#1972)

The previously used Catch2 version fails to build with glibc>= 2.34.
As MINSIGSTKSZ can no longer be assumed to be constant:
* https://sourceware.org/git/?p=glibc.git;a=commit;h=6c57d320484988e87e446e2e60ce42816bf51d53
* https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html

It's fixed in Catch2 since 2.13.5: https://github.com/catchorg/Catch2/releases/tag/v2.13.5

The upcoming Ubuntu LTS (22.04) will ship with an incompatible glibc version.
Nico 3 years ago
parent
commit
799b54cb61
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake/recipes/external/catch2.cmake

+ 1 - 1
cmake/recipes/external/catch2.cmake

@@ -8,7 +8,7 @@ include(FetchContent)
 FetchContent_Declare(
 FetchContent_Declare(
     catch2
     catch2
     GIT_REPOSITORY https://github.com/catchorg/Catch2.git
     GIT_REPOSITORY https://github.com/catchorg/Catch2.git
-    GIT_TAG v2.13.3
+    GIT_TAG v2.13.8
     GIT_SHALLOW TRUE
     GIT_SHALLOW TRUE
 )
 )
 FetchContent_MakeAvailable(catch2)
 FetchContent_MakeAvailable(catch2)