fix: RcppParallel disable-TBB source patch (env var was a no-op) #106

Merged
pat-s merged 1 commit from fix/rcppparallel-disable-tbb into main 2026-06-30 13:27:01 +00:00

2026-06-30

fix(patches): RcppParallel disable-TBB source patch (was a no-op env var)
The previous entry set env RCPP_PARALLEL_USE_TBB=0, but RcppParallel reads that
only as a compile -D flag, not from the environment — so it was a no-op and the
bundled Intel TBB build still ran (and hung on musl / newer toolchains).

Replace it with a source patch on src/Makevars.in that leaves USE_TBB unset
(skipping the bundled TBB build) and forces -DRCPP_PARALLEL_USE_TBB=0 so the
sources use the TinyThread backend. Verified in a Linux container: RcppParallel
installs with no bundled-TBB build (* DONE (RcppParallel)).
2026-06-30 14:59:27 +02:00