$ git clone https://github.com/baobaoyeye/mpc-toolkit.git
$ cd mpc-toolkit
bazel+clangd生成compile_commands.json compilation-database.html#bazel bazel-compile-commands-extractor
# 生成在根目录生成 compile_commands.json
$ bazel run @hedron_compile_commands//:refresh_all
# 全部编译
$ bazel build //... -c dbg