Add support for Ubuntu 24.04
This MR adds support for Ubuntu 24.04, through:
- adding Catch2 header (latest v2 version, i.e.
v2.13.9
) inexternal/
(instead of asking the user to install it usingapt
), since the version installed withapt
on Ubuntu 24.04 (Catch2 > v3) is not compatible with the code... - updating
sparsepp
external library, since it gave warnings with the g++ version installed on Ubuntu 24.04 (because it used a function deprecated in C++ 17 and removed in C++ 20). - updating a function in the python implementation, since it was deprecated in Python 3.12 (installed by default on Ubuntu 24.04) and gave a warning when compiling.
- updating the docker files and pipeline.