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)).
This commit is contained in:
parent
b93d1ef6bd
commit
889c571e79
1 changed files with 19 additions and 3 deletions
|
|
@ -3,10 +3,10 @@
|
|||
"package": "RcppParallel",
|
||||
"versions": "*",
|
||||
"platforms": ["alpine", "ubuntu-2604"],
|
||||
"env": { "RCPP_PARALLEL_USE_TBB": "0" },
|
||||
"env": {},
|
||||
"configure_args": [],
|
||||
"makevars": {},
|
||||
"patch": null,
|
||||
"reason": "bundled Intel TBB fails to build on musl and on newer toolchains (e.g. g++ 15 on ubuntu-2604); disabling TBB falls back to TinyThread"
|
||||
"patch": "RcppParallel/disable-tbb.patch",
|
||||
"reason": "bundled Intel TBB build hangs/fails on musl (Alpine) and newer toolchains (g++ 15 on ubuntu-2604); patch unsets USE_TBB and forces -DRCPP_PARALLEL_USE_TBB=0 so RcppParallel skips the bundled build and uses the TinyThread backend"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue