|
1 | 1 | # RcppParallel 6.2.0 |
2 | 2 |
|
| 3 | +* Fixed a failure to install with toolchains that accept `-std=c++20` but |
| 4 | + provide a pre-C++20 standard library, with errors of the form "no member |
| 5 | + named 'random_access_iterator' in namespace 'std'" from |
| 6 | + `tbb/parallel_for_each.h`. The bundled oneTBB selected its concepts-based |
| 7 | + iterator dispatch on a macro testing only the language standard, rather than |
| 8 | + the `__TBB_CPP20_CONCEPTS_PRESENT` used elsewhere in that same header. This |
| 9 | + affected RcppParallel's own compilation, as well as any package including |
| 10 | + the header; CRAN's macOS x86_64 machines, which pair Apple clang 14 with the |
| 11 | + macOS 11.3 SDK, are one such toolchain. (#268) |
| 12 | + |
3 | 13 | * On Windows, RcppParallel now builds the bundled oneTBB as a shared library |
4 | 14 | and links against it, shipping `tbb.dll` and `tbbmalloc.dll` alongside the |
5 | 15 | package -- the same arrangement already used on every other platform. |
|
53 | 63 | the package -- for a pre-built binary, the Rtools tree of the machine that |
54 | 64 | built it. Both now describe the installation actually in use. (#270, #273) |
55 | 65 |
|
56 | | -* Fixed an issue where compiling code including `tbb/parallel_for_each.h` |
57 | | - could fail with toolchains that accept `-std=c++20` but provide a |
58 | | - pre-C++20 standard library, with errors of the form "no member named |
59 | | - 'random_access_iterator' in namespace 'std'". This affected CRAN's macOS |
60 | | - x86_64 machines, which pair Apple clang 14 with the macOS 11.3 SDK. (#268) |
61 | | - |
62 | 66 | * Fixed an issue where building the bundled oneTBB could fail when `CXX` |
63 | 67 | (or `CC`) was configured with a leading compiler launcher such as `ccache` |
64 | 68 | (e.g. `CXX = "ccache g++"`). The launcher is now forwarded to cmake via |
|
0 commit comments