Skip to content

Commit

Permalink
Merge pull request #287 from FloopCZ/v2.8.0
Browse files Browse the repository at this point in the history
Update Tensorflow to 2.8.0 and Bazel to 4.2.1
  • Loading branch information
FloopCZ authored Apr 28, 2022
2 parents 1819441 + c991df6 commit c5ae816
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfiles/BAZEL_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.2
4.2.1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tensorflow_cc
[![Build Status](http://oak.floop.cz:8080/buildStatus/icon?job=tensorflow_cc)](http://oak.floop.cz:8080/job/tensorflow_cc/)
[![TF version](https://img.shields.io/badge/TF%20version-2.7.0-brightgreen.svg)]()
[![TF version](https://img.shields.io/badge/TF%20version-2.8.0-brightgreen.svg)]()

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.

Expand Down
2 changes: 1 addition & 1 deletion tensorflow_cc/PROJECT_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.0
2.8.0
7 changes: 4 additions & 3 deletions ubuntu-requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
apt-get -y update
apt-get -y install \
cmake \
g++-7 \
g++-9 \
git \
python3-dev \
python3-numpy \
Expand All @@ -22,7 +22,8 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then

# install bazel
export BAZEL_VERSION=${BAZEL_VERSION:-`cat $(dirname "$0")/Dockerfiles/BAZEL_VERSION`}
apt-get -y install pkg-config zip g++ zlib1g-dev unzip python
apt-get -y install pkg-config zip g++ zlib1g-dev unzip python3
update-alternatives --install /usr/bin/python python /usr/bin/python3 1
bazel_installer=bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
wget -P /tmp https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/${bazel_installer}
chmod +x /tmp/${bazel_installer}
Expand All @@ -33,4 +34,4 @@ else
echo "This script supports only Debian-based operating systems (like Ubuntu)." \
"Please consult README file for manual installation on your '$OSTYPE' OS."
exit 1
fi
fi

0 comments on commit c5ae816

Please sign in to comment.