Commit Graph

8 Commits

Author SHA1 Message Date
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Mihai Maruseac 7a059f4355
Cleanup build script, fix tensorflow build (#3952)
* Need to manually install numpy now as it is used in the toolchain

* Handle review

* Remove bazel install since we install bazelisk

* Force symlink python3 -> python

* Refactor build script

* Remove `-stdlib=libc++` as that causes link errors

* Remove `identity_fuzz` as it results in a huge fuzzer. Will work on reducing size and then enable back

* Copy fuzzer to `$OUT`, not move

* Handle coverage support
2020-06-15 09:38:48 -07:00
Mihai Maruseac b918240b08
Fix TensorFlow build (#3930)
* Remove dga@google.com as he left Google

* Use python3 as python2 is deprecated

* Need to manually install numpy now as it is used in the toolchain

* Use bazelisk instead of the grep configure -> get Bazel version -> curl hack

* Remove C++11 constraint as TF now builds and uses C++14

* Handle review

* Remove source sed/replace as it is no longer needed
2020-06-03 15:42:49 -07:00
Mihai Maruseac 20830e74fe [tensorflow] Fix the build by adding python-future to the list of installed deps. (#2503) 2019-06-11 14:08:42 -07:00
Mihai Maruseac 922ea7c8fe [TensorFlow] Ensure we're always using a valid Bazel (#2293)
* Determine Bazel version from configure.py script

* Install Bazel at the version from configure.py

* Don't downgrade Bazel on Dockerfile

* Make sure we were able to install proper Bazel

* Comment update
2019-04-04 23:35:11 -07:00
Mihai Maruseac 2fa5eca226 [tensorflow] Update Bazel version and check that it is compatible (#2288)
* Update Bazel to 0.24.0

* Always run ./configure
2019-04-03 09:57:58 -07:00
Mihai Maruseac 4c8a28e400 [tensorflow] Updates to get coverage build pass (#2052)
* Allow bazel to use version 0.21.0.

* Build only 5 fuzzers to get coverage build to also succeed.
2018-12-26 09:46:04 -08:00
Mihai Maruseac f6ca754ed1 [tensorflow] Integrate tensorflow with OSSfuzz (#1937)
* Integrate tensorflow with OSSfuzz

* Don't install already installed dependencies

* Add environment variable to disable logging.

Some fuzzers are outputting too much information due to logging and
that's not ok when fuzzing. Use TF_CPP_MIN_LOG_LEVEL envvar to disable
printing of the log messages.

* Remove the environment variable as it is not used at runtime and we have a workaround in the pipeline

* Workaround bazel bug (bazelbuild/bazel#6697)

* Don't compile with -O2, instead remove line causing bazel bug

* Downgrade Bazel to use the last version that TF supports

* Speed-up building by building fuzzers in parallel

* Add corpora and dictionaries
2018-12-07 10:34:27 -08:00