Skip to content

Commit

Permalink
[MISC] Drop gcc 10
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Jul 10, 2023
1 parent 6347444 commit 098d32f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

Expand Down
2 changes: 1 addition & 1 deletion build_system/sharg-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}")
Expand Down
7 changes: 4 additions & 3 deletions doc/about/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions doc/setup/quickstart_cmake/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 098d32f

Please sign in to comment.