From 95a8398fb8918773e7004d2ef989687dc8ace8cb Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Wed, 2 Nov 2022 15:54:18 -0400 Subject: [PATCH] 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 Signed-off-by: David Korczynski --- infra/base-images/base-builder/compile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/base-images/base-builder/compile b/infra/base-images/base-builder/compile index 3039f0ab5..61dea7ff3 100755 --- a/infra/base-images/base-builder/compile +++ b/infra/base-images/base-builder/compile @@ -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/ \;