Skip to content

Commit e13d475

Browse files
committed
add news entries for the windows tbb changes
1 parent 13a0a66 commit e13d475

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

NEWS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@
66
'random_access_iterator' in namespace 'std'". This affected CRAN's macOS
77
x86_64 machines, which pair Apple clang 14 with the macOS 11.3 SDK.
88

9+
* On Windows, RcppParallel now only uses the copy of TBB provided by Rtools
10+
when that copy is oneTBB; otherwise, the bundled oneTBB is built from
11+
sources, as it already is on other platforms. Rtools42 provides Intel TBB
12+
2017, whose headers downstream packages cannot build against: StanHeaders
13+
uses `tbb::this_task_arena::isolate`, which that release still gates behind
14+
`TBB_PREVIEW_TASK_ISOLATION` and does not export from its library. As a
15+
result, rstan could no longer be built on R 4.2 for Windows.
16+
17+
* On Windows, `RcppParallel::RcppParallelLibs()` once again offers the TBB
18+
stub library, so that packages taking all of their linker flags from it
19+
(e.g. rstan) can resolve TBB symbols which `RcppParallel.dll` does not
20+
itself re-export.
21+
922
* Fixed an issue where building the bundled oneTBB could fail when `CXX`
1023
(or `CC`) was configured with a leading compiler launcher such as `ccache`
1124
(e.g. `CXX = "ccache g++"`). The launcher is now forwarded to cmake via

0 commit comments

Comments
 (0)