Skip to content

Commit

Permalink
Merge pull request #264 from chillenzer/bump-C++20
Browse files Browse the repository at this point in the history
Bump C++ version to 20
  • Loading branch information
psychocoderHPC authored Oct 28, 2024
2 parents 0b9231a + 602e95d commit 486a295
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# General options
Language: Cpp
Standard: c++17
Standard: c++20
DisableFormat: false

AccessModifierOffset: -4
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(mallocMC LANGUAGES CXX)
cmake_minimum_required(VERSION 3.18)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

if(POLICY CMP0074)
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Install
-------
### Dependencies
- C++14 compiler (clang, gcc, hipcc, icc, nvcc)
- C++20 compiler (clang, gcc, hipcc, icc, nvcc)
- *Debian/Ubuntu:* `sudo apt-get install gcc build-essential`
- *Arch Linux:* `sudo pacman -S base-devel`
- `alpaka` 1.2.0
Expand Down

0 comments on commit 486a295

Please sign in to comment.