Skip to content

Commit

Permalink
Update GitHub CI to use Ubuntu 24.10, Clang 20 and G++ 14
Browse files Browse the repository at this point in the history
  • Loading branch information
keryell committed Oct 21, 2024
1 parent 5d9ba80 commit 3183c76
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,32 +54,32 @@ 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
fail-fast: false

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

Expand Down
2 changes: 1 addition & 1 deletion doc/cmake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions doc/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <macros.rst>`_.
Expand Down

0 comments on commit 3183c76

Please sign in to comment.