Skip to content

Commit b2fe0a2

Browse files
Merge branch 'master' of https://github.com/soedinglab/mmseqs2
2 parents 06f7429 + 0f56798 commit b2fe0a2

File tree

2 files changed

+4
-19
lines changed

2 files changed

+4
-19
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@ if (PPC64 OR SPARC OR ZARCH)
163163
endif ()
164164

165165
set(MMSEQS_C_FLAGS "${MMSEQS_CXX_FLAGS}")
166-
set(MMSEQS_CXX_FLAGS "${MMSEQS_CXX_FLAGS} -std=c++17")
166+
set(MMSEQS_CXX_FLAGS "${MMSEQS_CXX_FLAGS} -std=c++1y")
167167
# Compiler-specific features
168168
if (CMAKE_COMPILER_IS_CLANG AND (NOT EMSCRIPTEN))
169-
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD "c++17")
169+
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD "c++11")
170170
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
171171
set(MMSEQS_CXX_FLAGS "${MMSEQS_CXX_FLAGS} -stdlib=libc++")
172172
endif ()

src/commons/FastSort.h

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
#include <algorithm>
2-
#if __has_include(<execution>) //checking to see if the <execution> header is there
3-
#include <execution>
4-
#endif
52

63
#ifdef ENABLE_IPS4O
74
# include "simde/hedley.h"
@@ -14,22 +11,10 @@
1411
# ifdef OPENMP
1512
# define SORT_PARALLEL ips4o::parallel::sort
1613
# else
17-
# ifdef __APPLE__
18-
# define SORT_PARALLEL ips4o::sort
19-
# else
20-
# define SORT_PARALLEL(first, last, ...) std::sort(std::execution::par, first, last, ##__VA_ARGS__)
21-
# endif
14+
# define SORT_PARALLEL ips4o::sort
2215
# endif
2316
# define SORT_SERIAL std::sort
2417
#else
25-
# ifdef __APPLE__
26-
# define SORT_PARALLEL(first, last, ...) std::sort(first, last, ##__VA_ARGS__)
27-
# else
28-
# define SORT_PARALLEL(first, last, ...) std::sort(std::execution::par, first, last, ##__VA_ARGS__)
29-
# endif
18+
# define SORT_PARALLEL std::sort
3019
# define SORT_SERIAL std::sort
3120
#endif
32-
33-
34-
35-

0 commit comments

Comments
 (0)