You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
if ! bazel version; then
|
|
arch=$(uname -m)
|
|
if [ "$arch" == "aarch64" ]; then
|
|
arch="arm64"
|
|
fi
|
|
echo "Installing wget and downloading $arch Bazel binary from GitHub releases."
|
|
yum install -y wget
|
|
wget "https://github.com/bazelbuild/bazel/releases/download/6.0.0/bazel-6.0.0-linux-$arch" -O /usr/local/bin/bazel
|
|
chmod +x /usr/local/bin/bazel
|
|
else
|
|
# bazel is installed for the correct architecture
|
|
exit 0
|
|
fi
|