Skip to content

Commit 84f40ed

Browse files
authored
Merge pull request #291 from FloopCZ/v2.9.0
Update tensorflow to v2.9.0
2 parents c5ae816 + 49c5387 commit 84f40ed

File tree

6 files changed

+9
-18
lines changed

6 files changed

+9
-18
lines changed

Dockerfiles/BAZEL_VERSION

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

Dockerfiles/install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ done
1717

1818
if $cuda; then
1919
# install libcupti
20-
apt-get -y install cuda-command-line-tools-10-1
20+
apt-get -y install cuda-command-line-tools-11-6
2121
fi
2222

2323
apt-get -y clean

Dockerfiles/ubuntu-cuda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04
1+
FROM nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04
22

33
# copy the contents of this repository to the container
44
COPY . tensorflow_cc

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.8.0-brightgreen.svg)]()
3+
[![TF version](https://img.shields.io/badge/TF%20version-2.9.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/CMakeLists.txt

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,23 +83,14 @@ install(
8383
REGEX ".*Eigen.*"
8484
)
8585
install(
86-
FILES "${CMAKE_CURRENT_BINARY_DIR}/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so"
86+
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/tensorflow/bazel-bin/tensorflow/"
8787
DESTINATION lib
88-
RENAME libtensorflow_cc.so.${PROJECT_VERSION_MAJOR}
89-
OPTIONAL
88+
FILES_MATCHING PATTERN "libtensorflow_cc.so*"
9089
)
9190
install(
92-
FILES "${CMAKE_CURRENT_BINARY_DIR}/tensorflow/bazel-bin/bin/tensorflow/libtensorflow_cc.so"
91+
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/tensorflow/bazel-bin/bin/tensorflow/"
9392
DESTINATION lib
94-
RENAME libtensorflow_cc.so.${PROJECT_VERSION_MAJOR}
95-
OPTIONAL
96-
)
97-
# Make versioned symlinks to the library
98-
install(CODE "execute_process( \
99-
COMMAND ${CMAKE_COMMAND} -E create_symlink \
100-
libtensorflow_cc.so.${PROJECT_VERSION_MAJOR} \
101-
${CMAKE_INSTALL_PREFIX}/lib/libtensorflow_cc.so \
102-
)"
93+
FILES_MATCHING PATTERN "libtensorflow_cc.so*"
10394
)
10495

10596
# --------------------------

tensorflow_cc/PROJECT_VERSION

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

0 commit comments

Comments
 (0)