Skip to content

Commit a510619

Browse files
committed
Do not force g++-7 for nsync, but don't fail on warnings
1 parent 4e38d5e commit a510619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow_cc/cmake/TensorflowShared.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ ExternalProject_Add(
1111
DOWNLOAD_COMMAND ""
1212
UPDATE_COMMAND ""
1313
CONFIGURE_COMMAND tensorflow/contrib/makefile/compile_linux_protobuf.sh
14-
# patch nsync to use g++-7
15-
COMMAND sed -i "s/ g++/ g++-7/g" tensorflow/contrib/makefile/compile_nsync.sh
14+
# Do not fail on warnings when building nsync
15+
COMMAND sed -i "s/ -Werror//g" tensorflow/contrib/makefile/compile_nsync.sh
1616
COMMAND tensorflow/contrib/makefile/compile_nsync.sh
1717
COMMAND "${CMAKE_CURRENT_BINARY_DIR}/build_tensorflow.sh"
1818
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/cmake/copy_links.sh" .

0 commit comments

Comments
 (0)