Skip to content

Commit af237b0

Browse files
committed
Add newer LLVM test, with libc++
1 parent af4c45f commit af237b0

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
description: "LLVM 5"
1818
llvm-version: "5"
1919

20+
- os: ubuntu-22.04
21+
# select libc++ as libstdc++ appears to be the default
22+
description: "LLVM 16 libc++"
23+
llvm-version: "16"
24+
cmake-flags: '-DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-lc++abi"'
25+
2026
- os: ubuntu-20.04
2127
description: "GCC 7"
2228
gcc-version: "7"

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@ std::sort(std::execution::par, vec.begin(), vec.end());
1414
// ^^^^^^^^^^^^^^^^^^^ native C++17 parallel Execution Policy
1515
```
1616
17-
Unfortunately compiler support [varies](https://en.cppreference.com/w/cpp/compiler_support/17):
18-
19-
| | Linux | macOS | Windows |
20-
|:-------------|:------------:|:------------:|:------------:|
21-
| GCC 8- | ❌ | ❌ | ❌ |
22-
| GCC 9+ | TBB Required | TBB Required | TBB Required |
23-
| Clang | TBB Required | TBB Required | TBB Required |
24-
| Apple Clang | | ❌ | |
25-
| MSVC | | | ✅ |
17+
Unfortunately compiler support [varies](https://en.cppreference.com/w/cpp/compiler_support/17). Quick summary of compilers' default standard libraries:
18+
19+
| | Linux | macOS | Windows |
20+
|:------------------|:------------:|:------------:|:------------:|
21+
| GCC 8- | ❌ | ❌ | ❌ |
22+
| GCC 9+ | TBB Required | TBB Required | TBB Required |
23+
| Clang (libstdc++) | TBB Required | TBB Required | TBB Required |
24+
| Clang (libc++) | ❌ | ❌ | ❌ |
25+
| Apple Clang | | ❌ | |
26+
| MSVC 15.7+ (2017) | | | ✅ |
2627
| [Parallel STL](https://www.intel.com/content/www/us/en/developer/articles/guide/get-started-with-parallel-stl.html) | TBB Required | TBB Required | TBB Required |
27-
| **poolSTL** | ✅ | ✅ | ✅ |
28+
| **poolSTL** | ✅ | ✅ | ✅ |
2829
2930
PoolSTL is a *supplement* to fill in the support gaps. It is small, easy to integrate, and has no external dependencies.
3031
Note that poolSTL is not a full implementation; only the basics are covered.

0 commit comments

Comments
 (0)