File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
13
13
apt-get -y update
14
14
apt-get -y install \
15
15
cmake \
16
- g++-7 \
16
+ g++-9 \
17
17
git \
18
18
python3-dev \
19
19
python3-numpy \
@@ -22,7 +22,8 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
22
22
23
23
# install bazel
24
24
export BAZEL_VERSION=${BAZEL_VERSION:- `cat $(dirname " $0 " )/ Dockerfiles/ BAZEL_VERSION`}
25
- apt-get -y install pkg-config zip g++ zlib1g-dev unzip python
25
+ apt-get -y install pkg-config zip g++ zlib1g-dev unzip python3
26
+ update-alternatives --install /usr/bin/python python /usr/bin/python3 1
26
27
bazel_installer=bazel-${BAZEL_VERSION} -installer-linux-x86_64.sh
27
28
wget -P /tmp https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION} /${bazel_installer}
28
29
chmod +x /tmp/${bazel_installer}
33
34
echo " This script supports only Debian-based operating systems (like Ubuntu)." \
34
35
" Please consult README file for manual installation on your '$OSTYPE ' OS."
35
36
exit 1
36
- fi
37
+ fi
You can’t perform that action at this time.
0 commit comments