Skip to content

Commit c5ae816

Browse files
authored
Merge pull request #287 from FloopCZ/v2.8.0
Update Tensorflow to 2.8.0 and Bazel to 4.2.1
2 parents 1819441 + c991df6 commit c5ae816

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

Dockerfiles/BAZEL_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.2
1+
4.2.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tensorflow_cc
22
[![Build Status](http://oak.floop.cz:8080/buildStatus/icon?job=tensorflow_cc)](http://oak.floop.cz:8080/job/tensorflow_cc/)
3-
[![TF version](https://img.shields.io/badge/TF%20version-2.7.0-brightgreen.svg)]()
3+
[![TF version](https://img.shields.io/badge/TF%20version-2.8.0-brightgreen.svg)]()
44

55
This repository makes possible the usage of the [TensorFlow C++](https://www.tensorflow.org/api_docs/cc/) API from the outside of the TensorFlow source code folders and without the use of the [Bazel](https://bazel.build/) build system.
66

tensorflow_cc/PROJECT_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.0
1+
2.8.0

ubuntu-requirements.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
1313
apt-get -y update
1414
apt-get -y install \
1515
cmake \
16-
g++-7 \
16+
g++-9 \
1717
git \
1818
python3-dev \
1919
python3-numpy \
@@ -22,7 +22,8 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
2222

2323
# install bazel
2424
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
2627
bazel_installer=bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
2728
wget -P /tmp https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/${bazel_installer}
2829
chmod +x /tmp/${bazel_installer}
@@ -33,4 +34,4 @@ else
3334
echo "This script supports only Debian-based operating systems (like Ubuntu)." \
3435
"Please consult README file for manual installation on your '$OSTYPE' OS."
3536
exit 1
36-
fi
37+
fi

0 commit comments

Comments
 (0)