build-cran-binaries/local/patches/registry.json

131 lines
4.8 KiB
JSON

[
{
"package": "RcppParallel",
"versions": "*",
"platforms": [
"alpine",
"ubuntu-2604"
],
"env": {},
"configure_args": [],
"makevars": {},
"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"
},
{
"package": "fs",
"versions": "*",
"platforms": [
"*"
],
"env": {},
"configure_args": [],
"makevars": {},
"patch": "fs/force-vendored-libuv.patch",
"reason": "fs 2.x configure links system libuv whenever pkg-config finds libuv-devel (installed as a build-time sysreq), producing an fs.so with NEEDED libuv.so.1. That binary fails to dyn.load on consumer machines lacking runtime libuv, because install.packages/renv do not install SystemRequirements (only pak does, and only in the build container). The patch short-circuits configure to copy src/Makevars.vendor and build the bundled static libuv (needs cmake) so the binary is self-contained on every platform. An env/pkg-config override was tried first but the rebuilt binary still linked libuv.so.1, so a source patch is used instead."
},
{
"package": "rstan",
"versions": "*",
"platforms": [
"*"
],
"env": {},
"configure_args": [],
"makevars": {
"CPPFLAGS": "-DTBB_INTERFACE_NEW -I/usr/local/include"
},
"patch": null,
"reason": "StanHeaders' init_threadpool_tbb.hpp unconditionally includes the legacy <tbb/tbb_stddef.h> (removed in oneTBB 2021+) for version detection, breaking compilation of Module.cpp against the bundled oneTBB. Pre-defining TBB_INTERFACE_NEW skips that include and selects the modern tbb/global_control.h + tbb/task_arena.h path that the bundled TBB provides (-I/usr/local/include preserves the default CPPFLAGS the override replaces)"
},
{
"package": "BFpack",
"versions": "*",
"platforms": ["alpine-324", "ubuntu-2604"],
"makevars": {
"CPPFLAGS": "-DTBB_INTERFACE_NEW"
},
"reason": "package includes the removed tbb/tbb_stddef.h; -DTBB_INTERFACE_NEW selects the new oneTBB interface path"
},
{
"package": "BayesERtools",
"versions": "*",
"platforms": ["alpine-323", "alpine-324", "ubuntu-2604"],
"makevars": {
"CPPFLAGS": "-DTBB_INTERFACE_NEW"
},
"reason": "package includes the removed tbb/tbb_stddef.h; -DTBB_INTERFACE_NEW selects the new oneTBB interface path"
},
{
"package": "GMLTM",
"versions": "*",
"platforms": ["alpine-323", "alpine-324", "ubuntu-2604"],
"makevars": {
"CPPFLAGS": "-DTBB_INTERFACE_NEW"
},
"reason": "package includes the removed tbb/tbb_stddef.h; -DTBB_INTERFACE_NEW selects the new oneTBB interface path"
},
{
"package": "PStrata",
"versions": "*",
"platforms": ["ubuntu-2604"],
"makevars": {
"CPPFLAGS": "-DTBB_INTERFACE_NEW"
},
"reason": "package includes the removed tbb/tbb_stddef.h; -DTBB_INTERFACE_NEW selects the new oneTBB interface path"
},
{
"package": "PVAClone",
"versions": "*",
"platforms": ["ubuntu-2604"],
"makevars": {
"CPPFLAGS": "-DTBB_INTERFACE_NEW"
},
"reason": "package includes the removed tbb/tbb_stddef.h; -DTBB_INTERFACE_NEW selects the new oneTBB interface path"
},
{
"package": "PoolTestR",
"versions": "*",
"platforms": ["ubuntu-2604"],
"makevars": {
"CPPFLAGS": "-DTBB_INTERFACE_NEW"
},
"reason": "package includes the removed tbb/tbb_stddef.h; -DTBB_INTERFACE_NEW selects the new oneTBB interface path"
},
{
"package": "PosteriorBootstrap",
"versions": "*",
"platforms": ["ubuntu-2604"],
"makevars": {
"CPPFLAGS": "-DTBB_INTERFACE_NEW"
},
"reason": "package includes the removed tbb/tbb_stddef.h; -DTBB_INTERFACE_NEW selects the new oneTBB interface path"
},
{
"package": "ProbBreed",
"versions": "*",
"platforms": ["ubuntu-2604"],
"makevars": {
"CPPFLAGS": "-DTBB_INTERFACE_NEW"
},
"reason": "package includes the removed tbb/tbb_stddef.h; -DTBB_INTERFACE_NEW selects the new oneTBB interface path"
},
{
"package": "R2D2ordinal",
"versions": "*",
"platforms": ["ubuntu-2604"],
"makevars": {
"CPPFLAGS": "-DTBB_INTERFACE_NEW"
},
"reason": "package includes the removed tbb/tbb_stddef.h; -DTBB_INTERFACE_NEW selects the new oneTBB interface path"
},
{
"package": "RBesT",
"versions": "*",
"platforms": ["alpine-322", "alpine-323", "ubuntu-2604"],
"makevars": {
"CPPFLAGS": "-DTBB_INTERFACE_NEW"
},
"reason": "package includes the removed tbb/tbb_stddef.h; -DTBB_INTERFACE_NEW selects the new oneTBB interface path"
}
]