diff --git a/README.md b/README.md index 3f4129be..9c1a7763 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,8 @@ VERSION | | requirement | version | comment | |-------------------|-----------------------------------------------------------|----------|---------------------------------------------| -|**compiler** | [GCC](https://gcc.gnu.org) | ≥ 10 | no other compiler is currently supported! | +|**compiler** | [GCC](https://gcc.gnu.org) | ≥ 11 | | +|**compiler** | [Clang](https://clang.llvm.org/) | ≥ 17 | | |**build system** | [CMake](https://cmake.org) | ≥ 3.16 | optional, but recommended | |**required libs** | [TDL](https://github.com/deNBI-cibi/tool_description_lib) | ≥ 1.0.0 | required for CWL export | diff --git a/build_system/sharg-config.cmake b/build_system/sharg-config.cmake index 9ca9b4a2..a5e34de6 100644 --- a/build_system/sharg-config.cmake +++ b/build_system/sharg-config.cmake @@ -171,7 +171,7 @@ option (SHARG_NO_BZIP2 "Don't use BZip2, even if present." OFF) set (CMAKE_REQUIRED_FLAGS_SAVE ${CMAKE_REQUIRED_FLAGS}) set (CXXSTD_TEST_SOURCE - "#if !defined (__cplusplus) || (__cplusplus < 201709L) + "#if !defined (__cplusplus) || (__cplusplus < 202002) #error NOCXX20 #endif int main() {}") diff --git a/doc/about/api/index.md b/doc/about/api/index.md index 1add9355..2a16b67b 100644 --- a/doc/about/api/index.md +++ b/doc/about/api/index.md @@ -22,10 +22,11 @@ For details regarding ABI stability, please see the The main requirement for Sharg is that your operating system provides one of the compilers supported by us. In general, we only support the latest three major compiler versions. We currently support the following compilers on 64-bit operating systems with little-endian CPU architectures: - * GCC10, GCC11, GCC12 + * GCC11, GCC12, GCC13 + * Clang 17 -\note Only the most recent minor release of a compiler is guaranteed to be supported, e.g. when `gcc-10.4` is released, -we may drop support for `gcc-10.3`. Since all platforms with an older version receive minor release updates, +\note Only the most recent minor release of a compiler is guaranteed to be supported, e.g. when `gcc-11.4` is released, +we may drop support for `gcc-11.3`. Since all platforms with an older version receive minor release updates, this should not be a problem. We promise to support the above compilers in the latest release of Sharg, or until all the following diff --git a/doc/setup/quickstart_cmake/index.md b/doc/setup/quickstart_cmake/index.md index 3763c75e..cabe728a 100644 --- a/doc/setup/quickstart_cmake/index.md +++ b/doc/setup/quickstart_cmake/index.md @@ -12,13 +12,13 @@ works. # Software Requirements: - - gcc >= 10 + - gcc >= 11 or clang >= 17 - cmake >= 3.16 - git ## Installing GCC -SeqAn requires GCC >= 10. Current versions of LLVM/Clang and VisualStudio/MSVC are **not yet supported**. +Sharg requires GCC >= 11 or LLVM/Clang >= 17. Current versions of VisualStudio/MSVC are **not yet supported**. We will briefly explain how to install GCC-11 (or the latest GCC if such an option is available) on some popular operating systems. We recommend using the latest version of GCC available. For more information, refer to your operating system's documentation.