我正在尝试在AIX 7.2上编译Bazel。我已经设置了依赖项,并且能够运行编译脚本,但是由于无法识别CPU类型,因此安装程序无法找到/配置C ++工具链:
bash-4.4# env BAZEL_JAVAC_OPTS="-J-Xms2048m -J-Xmx4096m" bash ./compile.sh
Building Bazel from scratch......
Building Bazel with Bazel.
.WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
ERROR: No toolchain found for cpu 'unknown'. Valid cpus from default_toolchain entries are: [
]. Valid toolchains are: [
stub_armeabi-v7a: --cpu='armeabi-v7a' --compiler='compiler',
local: --cpu='piii' --compiler='compiler',
msys_x64_mingw: --cpu='x64_windows' --compiler='mingw-gcc',
msvc_x64: --cpu='x64_windows' --compiler='msvc-cl',
]
INFO: Elapsed time: 8.356s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (3 packages loaded)
任何想法,如何添加我可以用来编译Bazel的工具链配置?
系统信息:
bash-4.4# gcc --version
gcc (GCC) 4.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
bash-4.4# uname -m
00FA1F3C4C00
bash-4.4# uname -a
AIX my_hostname_here 2 7 00FA1F3C4C00
目前,我已经在编译脚本中对ppc64进行了硬编码。
预先感谢, 丹尼尔