infra: fuzz-introspector; install matplotlib from binary (#8912)

This avoids compiling certain parts of matplotlib, which speeds up
runtime of fuzz-introspector runs locally by a significant (~5-10min)
time.

Ref:
https://github.com/ossf/fuzz-introspector/pull/579#issuecomment-1300339783
Ref: https://github.com/ossf/fuzz-introspector/issues/465

Signed-off-by: David Korczynski <david@adalogics.com>

Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
DavidKorczynski 2022-11-02 15:54:18 -04:00 committed by GitHub
parent 85117f99af
commit 95a8398fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -211,7 +211,8 @@ if [ "$SANITIZER" = "introspector" ]; then
unset CFLAGS
apt-get install -y libjpeg-dev zlib1g-dev
pip3 install --upgrade setuptools
pip3 install cxxfilt pyyaml beautifulsoup4 lxml soupsieve matplotlib
pip3 install cxxfilt pyyaml beautifulsoup4 lxml soupsieve
pip3 install --prefer-binary matplotlib
mkdir -p $SRC/inspector
find $SRC/ -name "fuzzerLogFile-*.data" -exec cp {} $SRC/inspector/ \;