serving
serving copied to clipboard
crosstool_wrapper_driver_is_not_gcc failed
I've successfully build tensorflow, and git cloned tensorflow-serving.
I try to run
bazel build -c opt --config=cuda tensorflow/...
in ./serving/tensorflow and got this:
ERROR: /serving/tensorflow/tensorflow/compiler/xla/tests/BUILD:208:1: C++ compilation of rule '//tensorflow/compiler/xla/tests:filecheck' failed: crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter ... (remaining 143 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
In file included from tensorflow/compiler/xla/tests/filecheck.cc:16:0:
./tensorflow/compiler/xla/tests/filecheck.h:28:35: error: 'string' does not name a type
StatusOr<bool> RunFileCheck(const string& input, const string& pattern);
^
./tensorflow/compiler/xla/tests/filecheck.h:28:56: error: 'string' does not name a type
StatusOr<bool> RunFileCheck(const string& input, const string& pattern);
can anyone help me?
My OS is tensorflow/tensorflow:latest-gpu docker
Closing - please see the latest Docker examples for bringing up a build environment.