Explore updating TBB

未关闭
#3,143 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
cmake, cpp
领域
build-system

调研方向

首先检查基于 Makefile 的构建方式以及与 CMake 相关的 issue #3068 和 #2967。在 HPC 或 conda 环境中复现 TBB 链接问题,然后确定较新的 TBB 接口是否可以成为默认接口,同时确保构建无需当前的 opt-in 标志即可成功。

由索引模型根据 Issue 内容生成。

描述

dependencies

A couple issues have come up on the forums which were caused by environments (hpc or conda) shipping newer versions of TBB than Stan, causing linking issues if the environment's version was picked up by the C++ compiler

These have been slowly growing over time (conda-forge migrated their ecosystem back in 2021), and will only get worse. Stan already supports using these versions, but you need to opt-in with -DTBB_INTERFACE_NEW and providing the correct headers at build time.

I think we should make this the default. My understanding is the major barrier here is that the newer versions of TBB are only available as cmake builds? So we would either need to use cmake ourselves (#3068 #2967) or require users have cmake installed and invoke it from our own Makefiles

主要语言
C++
星标
845
派生
225
平均合并
3 天 9 小时
30 天内合并 PR
12

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

stan-dev/math 的其他 Issue

查看 stan-dev/math 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。