Skip to content

Commit 9b349eb

Browse files
ax3lhorenmar
andauthored
Catch2: 2.13.4+ (#940)
* Catch2: 2.13.4 * Docs: Catch2 v2.13.4 * SerialIOTest: Fix -Wsign-compare * CI: Add missing apt-get update lines * ParallelIOTest: Fix -Wsign-compare Co-authored-by: Martin Hořeňovský <[email protected]>
1 parent 963e8bc commit 9b349eb

File tree

8 files changed

+5301
-2110
lines changed

8 files changed

+5301
-2110
lines changed

.github/workflows/unix.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
with: {path: /opt/spack, key: clangtidy10_nopy_ompi_h5_ad1_ad2 }
1313
- name: Install
1414
run: |
15+
sudo apt-get update
1516
sudo apt-get install clang clang-tidy gfortran libopenmpi-dev python
1617
sudo .github/workflows/dependencies/install_spack
1718
- name: Build
@@ -36,6 +37,7 @@ jobs:
3637
with: {path: /opt/spack, key: clang5_nopy_nompi_h5 }
3738
- name: Install
3839
run: |
40+
sudo apt-get update
3941
sudo apt-get install clang-5.0
4042
sudo .github/workflows/dependencies/install_spack
4143
- name: Build
@@ -59,6 +61,7 @@ jobs:
5961
with: {path: /opt/spack, key: clang5_nopy_ompi_h5_ad1_ad2_bp3 }
6062
- name: Install
6163
run: |
64+
sudo apt-get update
6265
sudo apt-get install clang-5.0 gfortran libopenmpi-dev python3
6366
sudo .github/workflows/dependencies/install_spack
6467
- name: Build
@@ -87,6 +90,7 @@ jobs:
8790
with: {path: /opt/spack, key: clang5_nopy_ompi_h5_ad1_ad2_bp3 }
8891
- name: Install
8992
run: |
93+
sudo apt-get update
9094
sudo apt-get install clang-5.0 gfortran libopenmpi-dev python3
9195
sudo .github/workflows/dependencies/install_spack
9296
- name: Build
@@ -111,6 +115,7 @@ jobs:
111115
- uses: actions/checkout@v2
112116
- name: Install
113117
run: |
118+
sudo apt-get update
114119
sudo apt-get install clang-10 libc++-dev libc++abi-dev libhdf5-dev python3
115120
python3 -m pip install -U pip
116121
python3 -m pip install -U numpy
@@ -178,6 +183,7 @@ jobs:
178183
with: {path: /opt/spack, key: gcc5_py36_ompi_h5_ad1_ad2 }
179184
- name: Install
180185
run: |
186+
sudo apt-get update
181187
sudo apt-get install g++-5 gfortran libopenmpi-dev python3 python3-setuptools
182188
sudo .github/workflows/dependencies/install_spack
183189
python3 -m pip install -U pip
@@ -202,6 +208,7 @@ jobs:
202208
- uses: actions/checkout@v2
203209
- name: Install
204210
run: |
211+
sudo apt-get update
205212
sudo apt-get install g++ libopenmpi-dev libhdf5-openmpi-dev libadios-dev python3 python3-numpy python3-mpi4py python3-pandas
206213
# TODO ADIOS1 (.pc file broken?) ADIOS2
207214
- name: Build

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,9 @@ if(openPMD_BUILD_TESTING)
440440
target_include_directories(openPMD::thirdparty::Catch2 SYSTEM INTERFACE
441441
$<BUILD_INTERFACE:${openPMD_SOURCE_DIR}/share/openPMD/thirdParty/catch2/include>
442442
)
443-
message(STATUS "Catch2: Using INTERNAL version '2.6.1'")
443+
message(STATUS "Catch2: Using INTERNAL version '2.13.4'")
444444
else()
445-
find_package(Catch2 2.6.1 REQUIRED CONFIG)
445+
find_package(Catch2 2.13.4 REQUIRED CONFIG)
446446
target_link_libraries(openPMD::thirdparty::Catch2
447447
INTERFACE Catch2::Catch2)
448448
message(STATUS "Catch2: Found version '${Catch2_VERSION}'")

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Required:
104104

105105
Shipped internally in `share/openPMD/thirdParty/`:
106106
* [MPark.Variant](https://github.com/mpark/variant) 1.4.0+ ([BSL-1.0](https://github.com/mpark/variant/blob/master/LICENSE.md))
107-
* [Catch2](https://github.com/catchorg/Catch2) 2.6.1+ ([BSL-1.0](https://github.com/catchorg/Catch2/blob/master/LICENSE.txt))
107+
* [Catch2](https://github.com/catchorg/Catch2) 2.13.4+ ([BSL-1.0](https://github.com/catchorg/Catch2/blob/master/LICENSE.txt))
108108
* [pybind11](https://github.com/pybind/pybind11) 2.6.1+ ([new BSD](https://github.com/pybind/pybind11/blob/master/LICENSE))
109109
* [NLohmann-JSON](https://github.com/nlohmann/json) 3.9.1+ ([MIT](https://github.com/nlohmann/json/blob/develop/LICENSE.MIT))
110110

@@ -259,7 +259,7 @@ The following options allow to switch to external installs:
259259
| CMake Option | Values | Library | Version |
260260
|---------------------------------|------------|---------------|---------|
261261
| `openPMD_USE_INTERNAL_VARIANT` | **ON**/OFF | MPark.Variant | 1.4.0+ |
262-
| `openPMD_USE_INTERNAL_CATCH` | **ON**/OFF | Catch2 | 2.6.1+ |
262+
| `openPMD_USE_INTERNAL_CATCH` | **ON**/OFF | Catch2 | 2.13.4+ |
263263
| `openPMD_USE_INTERNAL_PYBIND11` | **ON**/OFF | pybind11 | 2.6.1+ |
264264
| `openPMD_USE_INTERNAL_JSON` | **ON**/OFF | NLohmann-JSON | 3.9.1+ |
265265

docs/source/dev/buildoptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The following options allow to switch to external installs of dependencies:
6868
CMake Option Values Installs Library Version
6969
================================= =========== ======== ============= ========
7070
``openPMD_USE_INTERNAL_VARIANT`` **ON**/OFF Yes MPark.Variant 1.4.0+
71-
``openPMD_USE_INTERNAL_CATCH`` **ON**/OFF No Catch2 2.6.1+
71+
``openPMD_USE_INTERNAL_CATCH`` **ON**/OFF No Catch2 2.13.4+
7272
``openPMD_USE_INTERNAL_PYBIND11`` **ON**/OFF No pybind11 2.6.1+
7373
``openPMD_USE_INTERNAL_JSON`` **ON**/OFF No NLohmann-JSON 3.9.1+
7474
================================= =========== ======== ============= ========

docs/source/dev/dependencies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Shipped internally
1818
The following libraries are shipped internally in ``share/openPMD/thirdParty/`` for convenience:
1919

2020
* `MPark.Variant <https://github.com/mpark/variant>`_ 1.4.0+ (`BSL-1.0 <https://github.com/mpark/variant/blob/master/LICENSE.md>`_)
21-
* `Catch2 <https://github.com/catchorg/Catch2>`_ 2.6.1+ (`BSL-1.0 <https://github.com/catchorg/Catch2/blob/master/LICENSE.txt>`__)
21+
* `Catch2 <https://github.com/catchorg/Catch2>`_ 2.13.4+ (`BSL-1.0 <https://github.com/catchorg/Catch2/blob/master/LICENSE.txt>`__)
2222
* `pybind11 <https://github.com/pybind/pybind11>`_ 2.6.1+ (`new BSD <https://github.com/pybind/pybind11/blob/master/LICENSE>`_)
2323
* `NLohmann-JSON <https://github.com/nlohmann/json>`_ 3.9.1+ (`MIT <https://github.com/nlohmann/json/blob/develop/LICENSE.MIT>`_)
2424

0 commit comments

Comments
 (0)