我正努力使用Bazel交叉编译ARM处理器程序。我遵循了下面来自bazel的教程:
https://github.com/bazelbuild/bazel/wiki/Building-with-a-custom-toolchain
当我运行上面教程中编写的确切命令时,错误日志如下:
manikanta@manikanta-VirtualBox:~/Desktop/my_project$ bazel build --crosstool_top=//bazel_toolchain_test_data/tools/arm_compiler:toolchain --cpu=armeabi-v7a --verbose_failures //hello:hello
ERROR: /home/manikanta/Desktop/my_project/bazel_toolchain_test_data/tools/arm_compiler/BUILD:46:1: no such package '@org_linaro_components_toolchain_gcc_7_3_1//': The repository could not be resolved and referenced by '//bazel_toolchain_test_data/tools/arm_compiler:linaro_linux_linker_files'
ERROR: Analysis of target '//hello:hello' failed; build aborted: no such package '@org_linaro_components_toolchain_gcc_7_3_1//': The repository could not be resolved
INFO: Elapsed time: 0.707s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
currently loading: @bazel_tools//tools/cpp ... (2 packages)
由于我是Bazel的新手,我一无所知。任何帮助将不胜感激。