1

我正在尝试通过以下方式分发与消毒剂一起distcc使用的构建:clang

clang++-12 -fsanitize-blacklist=/path/to/the/blacklist.txt ...

cpp因此,构建中存在非依赖关系。

distcc当前失败,输出如下:

remote compilation of <file.cpp> failed, retrying locally

并在保留的临时文件中

export DISTCC_VERBOSE=1 # To see the paths of the tmp files
export DISTCC_SAVE_TEMPS=1 # To preserve tmp files

我看到以下错误:

clang: error: no such file or directory: '/path/to/the/blacklist.txt'

如何配置distcc将非依赖项复制cpp到远程构建机器?关于解决方法的任何其他想法?

环境:我使用的是 Ubuntu 20.04 客户端笔记本电脑和带有 Ubuntu 20.04docker映像的 Ubuntu 20.04 服务器机器。构建环境安装在docker镜像中。服务器只有一个公共 IP,所以我必须配置distcc使用 SSH 从客户端连接到服务器。

4

1 回答 1

0

也许像 icecc 这样的另一个版本的 distcc 会有所帮助。

https://github.com/icecc/icecream/commit/a2f0d7507c2fb87096c74582d05cdfc05c6e3e40

distcc 是更新频率,但 icecream 的最后一次提交是在 2020 年 6 月,或者像 incredibuild(不确定)这样的东西也可能有帮助。

于 2021-10-25T07:08:53.780 回答