[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
This commit is contained in:
Mihai Maruseac 2019-01-03 12:22:27 -08:00 committed by Max Moroz
parent 9644e3ad4a
commit 4feaf99b36
1 changed files with 1 additions and 5 deletions

View File

@ -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