DanielD
unread,Nov 26, 2018, 9:19:25 AM11/26/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bazel-discuss
Hi all,
I am trying to compile Bazel on AIX 7.2. I have set up the dependencies and I am able to run the compile script, but since the CPU type is not recognized, the installer can't find/configure the C++ toolchain:
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)
Any idea, how to add a toolchain configuration with which I can compile Bazel? I have GCC installed. "uname -m" reports "00FA1F3C4C00", so for now, I have hardcoded ppc64 in the compile scripts.
Thanks in advance,
Daniel