Skip to content

Commit e36e188

Browse files
committed
Add versions to patch files
1 parent c4cc05f commit e36e188

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

tensorflow_cc/cmake/TensorflowShared.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ ExternalProject_Add(
1111
DOWNLOAD_COMMAND ""
1212
UPDATE_COMMAND ""
1313
# The grpc integrated in v1.15.0 needs patching, see https://github.com/clearlinux/distribution/issues/1151.
14-
CONFIGURE_COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/patches/Rename-gettid-functions.patch" .
15-
COMMAND git apply Rename-gettid-functions.patch
16-
COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/patches/workspace.bzl.patch" .
17-
COMMAND git apply workspace.bzl.patch
14+
CONFIGURE_COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/patches/v1.15.0-Rename-gettid-functions.patch" .
15+
COMMAND git apply v1.15.0-Rename-gettid-functions.patch
16+
COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/patches/v1.15.0-workspace.bzl.patch" .
17+
COMMAND git apply v1.15.0-workspace.bzl.patch
1818
COMMAND tensorflow/contrib/makefile/compile_linux_protobuf.sh
1919
# Do not fail on warnings when building nsync
2020
COMMAND sed -i "s/ -Werror//g" tensorflow/contrib/makefile/compile_nsync.sh

tensorflow_cc/patches/Rename-gettid-functions.patch renamed to tensorflow_cc/patches/v1.15.0-Rename-gettid-functions.patch

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)