-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bazel编译失败 #15
Comments
请问是在编译interconnection-impl代码时报错的吗? |
已经安装好了 |
还是那个问题, |
你好,具体解决方式是什么呢 |
同时,在另一个ubuntu wsl平台上,编译spu是可以正常通过的,但编译interconnection-impl会一直卡在: 如果清除bazel缓存,重新编译会出现如下情况: |
你这样尝试一下
由于环境出现了变化需要先删除缓存bazel clean --expunge。 |
还是一样的问题 |
|
尝试安装一下spu后进行编译 pip install spu==0.9.2b0 |
root/.cache/bazel/_bazel_root/b12e4e3f9a14f11e902c5f6f1fe2e080 把这个文件夹删掉再编译试试呢 |
还是会出现问题,编译该repo的时候现在会提示: |
还有其它报错信息吗 |
cmake version 3.30.2
gcc version 11.1.0 (GCC)
bazel 6.5.0
在centos7编译
提示:
_____ END BUILD LOGS _____
rules_foreign_cc: Build wrapper script location: bazel-out/k8-opt/bin/external/com_github_openssl_openssl/openssl_foreign_cc/wrapper_build_script.sh
rules_foreign_cc: Build script location: bazel-out/k8-opt/bin/external/com_github_openssl_openssl/openssl_foreign_cc/build_script.sh
rules_foreign_cc: Build log location: bazel-out/k8-opt/bin/external/com_github_openssl_openssl/openssl_foreign_cc/Configure.log
Target //ic_impl:ic_main failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /data/ant-sf/interconnection-impl/ic_impl/BUILD.bazel:19:10 Linking ic_impl/ic_main failed: (Exit 2): bash failed: error executing command (from target @com_github_openssl_openssl//:openssl) /bin/bash -c bazel-out/k8-opt/bin/external/com_github_openssl_openssl/openssl_foreign_cc/wrapper_build_script.sh
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
The text was updated successfully, but these errors were encountered: