Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Bazel upgraded to 4.1.0 #3703

Merged
merged 1 commit into from
Aug 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.2
4.1.0
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ addons:
- libgoogle-perftools-dev

env:
- BAZEL_VERSION=3.7.2 ENABLE_HEAPCHECK=1
- BAZEL_VERSION=4.1.0 ENABLE_HEAPCHECK=1

before_install:
# download and install bazel
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Confluence: https://cwiki.apache.org/confluence/display/HERON
#### Heron Requirements:
* Java 11
* Python 3.6
* Bazel 3.7.2
* Bazel 4.1.0

## Contact

Expand Down
2 changes: 1 addition & 1 deletion docker/compile/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN yum -y install \

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk

ENV bazelVersion 3.7.2
ENV bazelVersion 4.1.0

RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
&& chmod +x /tmp/bazel.sh \
Expand Down
2 changes: 1 addition & 1 deletion docker/compile/Dockerfile.debian10
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN apt-get update && apt-get -y install \
wget \
zip

ENV bazelVersion 3.7.2
ENV bazelVersion 4.1.0

RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
&& chmod +x /tmp/bazel.sh \
Expand Down
2 changes: 1 addition & 1 deletion docker/compile/Dockerfile.ubuntu18.04
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64

ENV bazelVersion 3.7.2
ENV bazelVersion 4.1.0

RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
&& chmod +x /tmp/bazel.sh \
Expand Down
2 changes: 1 addition & 1 deletion docker/compile/Dockerfile.ubuntu20.04
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN apt-get update && apt-get -y install \

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64

ENV bazelVersion 3.7.2
ENV bazelVersion 4.1.0

RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
&& chmod +x /tmp/bazel.sh \
Expand Down
2 changes: 1 addition & 1 deletion docker/test/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN yum -y install \

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk

ENV bazelVersion 3.7.2
ENV bazelVersion 4.1.0

RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
&& chmod +x /tmp/bazel.sh \
Expand Down
2 changes: 1 addition & 1 deletion docker/test/Dockerfile.ubuntu18.04
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64

ENV bazelVersion 3.7.2
ENV bazelVersion 4.1.0

RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
&& chmod +x /tmp/bazel.sh \
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/setup_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [ "$#" -ne 1 ]; then
exit 1
fi
BAZEL_OS=$1
BAZEL_VERSION=3.7.2
BAZEL_VERSION=4.1.0

# Install Bazel
BAZEL_INSTALLER=bazel-$BAZEL_VERSION-installer-$BAZEL_OS-x86_64.sh
Expand Down
2 changes: 1 addition & 1 deletion vagrant/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ install_marathon() {
service marathon start
}

bazelVersion=3.7.2
bazelVersion=4.1.0
bazel_install() {
apt-get install -y automake cmake gcc g++ zlib1g-dev zip pkg-config wget libssl-dev libunwind-dev
mkdir -p /opt/bazel
Expand Down
2 changes: 1 addition & 1 deletion website2/docs/compiling-osx.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/inst

### Step 2 -- Install Bazel
```bash
wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/3.7.2/bazel-3.7.2-installer-darwin-x86_64.sh
wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/4.1.0/bazel-4.1.0-installer-darwin-x86_64.sh
chmod +x /tmp/bazel.sh
/tmp/bazel.sh --user
```
Expand Down
2 changes: 1 addition & 1 deletion website2/website/scripts/Dockerfile.ubuntu18.04
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ RUN apt-get update && apt-get install -y nodejs

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64

ENV bazelVersion 3.7.2
ENV bazelVersion 4.1.0
RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
&& chmod +x /tmp/bazel.sh \
&& /tmp/bazel.sh --user
Expand Down
2 changes: 1 addition & 1 deletion website2/website/scripts/replace.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const bazelVersions = {
'0.20.2-incubating': '0.26.0',
'0.20.3-incubating': '3.7.0',
'0.20.4-incubating': '3.7.2',
'latest': '3.7.2',
'latest': '4.1.0',
}

function replaceBazel(version) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/inst

### Step 2 -- Install Bazel
```bash
wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/3.7.2/bazel-3.7.2-installer-darwin-x86_64.sh
wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/4.1.0/bazel-4.1.0-installer-darwin-x86_64.sh
chmod +x /tmp/bazel.sh
/tmp/bazel.sh --user
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/inst

### Step 2 -- Install Bazel
```bash
wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/3.7.2/bazel-3.7.2-installer-darwin-x86_64.sh
wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/4.1.0/bazel-4.1.0-installer-darwin-x86_64.sh
chmod +x /tmp/bazel.sh
/tmp/bazel.sh --user
```
Expand Down