Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
2561bed5e7 |
1 changed files with 12 additions and 0 deletions
|
|
@ -8,5 +8,17 @@
|
||||||
"makevars": {},
|
"makevars": {},
|
||||||
"patch": "RcppParallel/disable-tbb.patch",
|
"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"
|
"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": "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)"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue