From db1a0796279f801349b71c60e7e4bf448d574ce4 Mon Sep 17 00:00:00 2001 From: Filip Matzner Date: Sun, 21 Jun 2020 14:16:32 +0200 Subject: [PATCH] Update TF to v2.2.0 --- README.md | 2 +- tensorflow_cc/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d953ade..564e738 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # tensorflow_cc [![Build Status](http://elm.floop.cz:8080/buildStatus/icon?job=tensorflow_cc)](http://elm.floop.cz:8080/job/tensorflow_cc/) -[![TF version](https://img.shields.io/badge/TF%20version-2.2.0%20rc2-brightgreen.svg)]() +[![TF version](https://img.shields.io/badge/TF%20version-2.2.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. diff --git a/tensorflow_cc/CMakeLists.txt b/tensorflow_cc/CMakeLists.txt index bb690a7..fad05e3 100644 --- a/tensorflow_cc/CMakeLists.txt +++ b/tensorflow_cc/CMakeLists.txt @@ -8,8 +8,7 @@ project( # If enabled, bazel has to be installed. option(ALLOW_CUDA "Try to find and use CUDA." ON) option(REQUIRE_CUDA "Make sure to find and use CUDA (implies ALLOW_CUDA)." OFF) -set(TENSORFLOW_TAG "v2.2.0-rc2" CACHE STRING "The tensorflow release tag to be checked out (default v2.2.0-rc2).") -# TODO use ${version} when not -rc2 +set(TENSORFLOW_TAG "v${version}" CACHE STRING "The tensorflow release tag to be checked out (default v${version}).") set(TARGET_CXX_STANDARD "cxx_std_11" CACHE STRING "C++ standard to be enforced when linking to TensorflowCC targets (e.g., cxx_std_11).") # -------------