From 4feaf99b36b9c454e5abcf83a310cf997b12efee Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Thu, 3 Jan 2019 12:22:27 -0800 Subject: [PATCH] [tensorflow] Try to get coverage build to progress (#2068) * No need for configure hack as it is covered internally. * Try to get coverage build to progress * Remove extra mkdir --- projects/tensorflow/build.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/projects/tensorflow/build.sh b/projects/tensorflow/build.sh index 3dd3c5800..6473af0f8 100755 --- a/projects/tensorflow/build.sh +++ b/projects/tensorflow/build.sh @@ -21,11 +21,6 @@ declare -r FUZZERS=$( grep '^tf_ops_fuzz_target' ${FUZZING_BUILD_FILE} | cut -d'"' -f2 | head -n5 ) -# Since Docker container has bazel-0.19 we need the following trick to allow -# --config=monolithic and other needed flags. -echo " write_to_bazelrc('import %workspace%/tools/bazel.rc')" >> configure.py -yes "" | ./configure - # Add a few more flags to make sure fuzzers build and run successfully. # Note the c++11/libc++ flags to build using the same toolchain as the one used # to build libFuzzingEngine. @@ -116,6 +111,7 @@ then declare -r REMAP_PATH=${OUT}/proc/self/cwd mkdir -p ${REMAP_PATH} rsync -ak ${SRC}/tensorflow ${REMAP_PATH} + rsync -ak ${SRC}/third_party ${REMAP_PATH} fi # Now that all is done, we just have to copy the existing corpora and