util: add pkg-config to ubuntu all-dependencies Dockerfiles
authorCiro Santilli <ciro.santilli@arm.com>
Fri, 18 Sep 2020 11:12:54 +0000 (12:12 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Tue, 22 Sep 2020 06:53:22 +0000 (06:53 +0000)
Without this, HDF5 is not built, e.g. a run such as
http://jenkins.gem5.org/job/Nightly/68/console contains:

Checking for hdf5-serial using pkg-config... pkg-config not found
Checking for hdf5 using pkg-config... pkg-config not found
Checking for H5Fcreate("", 0, 0, 0) in C library hdf5... (cached) no
Warning: Couldn't find any HDF5 C++ libraries. Disabling
         HDF5 support.

This is done to increase coverage a bit, and serve as dependency
documentation to users.

Change-Id: Ibf820a3aa76c29eeee1201646924ee181615a162
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34777
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
util/dockerfiles/ubuntu-18.04_all-dependencies/Dockerfile
util/dockerfiles/ubuntu-20.04_all-dependencies/Dockerfile

index 282805dfa960d97ffb59182bbc994c92515b2464..1259f2e5311235fbebcc2de1f1cab8ca546ee5f7 100644 (file)
@@ -31,4 +31,4 @@ RUN apt -y upgrade
 RUN apt -y install build-essential git m4 scons zlib1g zlib1g-dev \
     libprotobuf-dev protobuf-compiler libprotoc-dev libgoogle-perftools-dev \
     python-dev python python-six doxygen libboost-all-dev libhdf5-serial-dev \
-    python-pydot libpng-dev libelf-dev
+    python-pydot libpng-dev libelf-dev pkg-config
index 283d3568a5a2f169612a23575d3a0b5ad3ddf24f..3facf7e26d4e5af78a219e689dca6a9cb3b79253 100644 (file)
@@ -32,4 +32,4 @@ RUN apt -y upgrade
 RUN apt -y install build-essential git m4 scons zlib1g zlib1g-dev \
     libprotobuf-dev protobuf-compiler libprotoc-dev libgoogle-perftools-dev \
     python3-dev python3-six python-is-python3 doxygen libboost-all-dev \
-    libhdf5-serial-dev python3-pydot libpng-dev libelf-dev
+    libhdf5-serial-dev python3-pydot libpng-dev libelf-dev pkg-config