我正在尝试通过以下方式分发与消毒剂一起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 从客户端连接到服务器。