【发布时间】:2021-08-09 17:24:36
【问题描述】:
我正在尝试通过以下方式分发带有 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.04 docker 映像的 Ubuntu 20.04 服务器计算机。构建环境安装在docker 映像中。服务器只有一个公共 IP,所以我必须配置 distcc 以使用 SSH 从客户端连接到服务器。
【问题讨论】:
-
也许 google chromium 有他们使用冰淇淋或 goma 的解决方案,另请参阅:chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/…
标签: c++ ubuntu ssh clang distcc