我正在尝试通过以下方式分发使用带有杀菌器的clang的distcc构建:
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依赖项复制到远程构建计算机?还有其他关于变通方法的想法吗?
环境:我使用一台Ubuntu20.04客户端笔记本电脑和一台带有Ubuntu20.04 docker镜像的Ubuntu20.04服务器。构建环境安装在docker映像中。服务器只有一个公共IP,所以我必须将distcc配置为使用SSH从客户机连接到服务器。
发布于 2021-10-25 07:08:54
也许像icecc这样的另一个版本的distcc会有所帮助。
https://github.com/icecc/icecream/commit/a2f0d7507c2fb87096c74582d05cdfc05c6e3e40
distcc是更新频率,但是冰激凌的最后一次提交是在2020年6月,或者像incredibuild (不确定)这样的东西可能也会有帮助。
https://stackoverflow.com/questions/68716182
复制相似问题