From bdabd50c85445b87000b80306d891a5a2e3134bc Mon Sep 17 00:00:00 2001 From: Ronan Keryell Date: Sun, 20 Oct 2024 17:07:09 -0700 Subject: [PATCH] Update GitHub CI to use Ubuntu 24.10, Clang 20 and G++ 14 --- .github/workflows/cmake.yml | 22 +++++++++++----------- doc/cmake.rst | 2 +- doc/testing.rst | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index d81a7f091..c8d9cc602 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -54,8 +54,8 @@ jobs: # Run into an even more recent Ubuntu inside Docker to have recent # compilers and C++ standard library container: - # Ubuntu 23.10 - image: docker://ubuntu:mantic + # Ubuntu 24.10 + image: docker://ubuntu:oracular strategy: # Run all the test even if there are some which fail @@ -63,23 +63,23 @@ jobs: matrix: include: - - c_compiler: gcc-13 - cxx_compiler: g++-13 + - c_compiler: gcc-14 + cxx_compiler: g++-14 OpenMP: ON OpenCL: OFF - - c_compiler: gcc-13 - cxx_compiler: g++-13 + - c_compiler: gcc-14 + cxx_compiler: g++-14 OpenMP: ON OpenCL: ON - - c_compiler: clang-19 - cxx_compiler: clang++-19 + - c_compiler: clang-20 + cxx_compiler: clang++-20 OpenMP: ON OpenCL: OFF - - c_compiler: clang-19 - cxx_compiler: clang++-19 + - c_compiler: clang-20 + cxx_compiler: clang++-20 OpenMP: ON OpenCL: ON @@ -156,7 +156,7 @@ jobs: run: | apt-get update apt-get install -y build-essential cmake g++ gdb git \ - libboost1.81-all-dev libgtkmm-3.0-dev librange-v3-dev \ + libboost-all-dev libgtkmm-3.0-dev librange-v3-dev \ pkgconf - name: Check out repository code diff --git a/doc/cmake.rst b/doc/cmake.rst index dd95d0acb..c10b82f0e 100644 --- a/doc/cmake.rst +++ b/doc/cmake.rst @@ -48,7 +48,7 @@ tools such as the Clang-based indexing and refactoring tools You can choose a specific compiler during the first `cmake` use, such as with:: - CXX=clang++-14 cmake .. + CXX=clang++-20 cmake .. Notes diff --git a/doc/testing.rst b/doc/testing.rst index 4c19b729c..c7c281cf7 100644 --- a/doc/testing.rst +++ b/doc/testing.rst @@ -16,12 +16,12 @@ latest Ubuntu too, just adapt the compiler versions): .. code:: bash - sudo apt-get install clang-11 g++-11 libomp-dev libboost-all-dev + sudo apt-get install clang-20 g++-14 libomp-dev libboost-all-dev There is nothing else to do for now to use the include files from triSYCL_ ``include`` directory when compiling a program. Just add a -``-I.../include`` option and ``-std=c++17`` -or even better ``-std=c++2a`` when compiling. +``-I.../include`` option and ``-std=c++23`` +or even better ``-std=c++2c`` when compiling. triSYCL_ is configurable through preprocessor macros described in `macros `_.