我正在尝试在 Centos 7.5 上构建 Stripe 的 Sorbet 二进制文件,并且安装了 bazel 0.28.1。
我尝试使用 构建bazel build //main:sorbet --config=dbg
,但失败了:
WARNING: The following configs were expanded more than once: [debugsymbols].
For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
INFO: Invocation ID: 1b2a6940-59ff-419f-ae57-f6e4129c2102
ERROR: /data/home/elemental/sorbet/main/BUILD:9:1: every rule of type cc_binary
implicitly depends upon the target '@llvm_toolchain//:toolchain',
but this target could not be found because of:
no such package '@llvm_toolchain//': Traceback (most recent call last):
...
看起来我只是缺少 llvm 和 llvm-toolset-7,但安装它们并没有帮助。我错过了什么?