util: Updated Dockfiles with the libelf-dev dep
authorBobby R. Bruce <bbruce@ucdavis.edu>
Thu, 27 Aug 2020 20:56:10 +0000 (13:56 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Fri, 28 Aug 2020 19:03:57 +0000 (19:03 +0000)
This is required if we eventually remove `ext/libelf` (
https://gem5.atlassian.net/browse/GEM5-752), otherwise our tests will
fail.

The corresponding Docker images have been built and uploaded to:
https://gcr.io/gem5-test/

Change-Id: I1bd069dfb968b56eac4c4da33929b5ff895eaa6f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33596
Reviewed-by: Gabe Black <gabeblack@google.com>
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/gcn-gpu/Dockerfile
util/dockerfiles/ubuntu-18.04_all-dependencies/Dockerfile
util/dockerfiles/ubuntu-18.04_clang-version/Dockerfile
util/dockerfiles/ubuntu-18.04_gcc-version/Dockerfile
util/dockerfiles/ubuntu-18.04_min-dependencies/Dockerfile
util/dockerfiles/ubuntu-20.04_all-dependencies/Dockerfile
util/dockerfiles/ubuntu-20.04_gcc-version/Dockerfile

index 2e1f5915d1f880849e9b77a89c3f9acc8d367e20..4c17b4208594ba81d11b5a3b6d04f9c9cfd6b115 100644 (file)
@@ -34,7 +34,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
     libboost-filesystem-dev \
     libboost-system-dev \
     libboost-dev \
-    libpng12-dev
+    libpng12-dev \
+    libelf-dev
 
 ARG gem5_dist=http://dist.gem5.org/dist/develop
 
index 95511a8a83f986a01c0156b36ebfd8df3edcfc1c..282805dfa960d97ffb59182bbc994c92515b2464 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
+    python-pydot libpng-dev libelf-dev
index 428bd029131c68e5fa7b2dc214c927600aa69b41..b98af8818a22ff42f2b50adff75e7dfee59aaae2 100644 (file)
@@ -40,7 +40,7 @@ RUN apt -y update
 RUN apt -y upgrade
 RUN apt -y install git m4 scons zlib1g zlib1g-dev clang-${version} \
     libprotobuf-dev protobuf-compiler libprotoc-dev libgoogle-perftools-dev \
-    python-dev python python-six doxygen
+    python-dev python python-six doxygen libelf-dev
 
 RUN apt-get --purge -y remove gcc
 
index 902e4a014bbe382f5f79564edd281d947f0c549c..5eb40b1b3c765599173103a6476a097c999343a2 100644 (file)
@@ -37,7 +37,8 @@ RUN apt -y update
 RUN apt -y upgrade
 RUN apt -y install git m4 scons zlib1g zlib1g-dev gcc-multilib \
     libprotobuf-dev protobuf-compiler libprotoc-dev libgoogle-perftools-dev \
-    python-dev python python-six doxygen wget zip gcc-${version} g++-${version}
+    python-dev python python-six doxygen wget zip gcc-${version} \
+    g++-${version} libelf-dev
 
 RUN update-alternatives --install \
     /usr/bin/g++ g++ /usr/bin/g++-${version} 100
index 986b2b62bf934ad1aadf54a73ffaa738fec97f46..f55ea2d08de258012fa96617b6e24f7c14dc3e97 100644 (file)
@@ -29,4 +29,4 @@ FROM ubuntu:18.04
 RUN apt -y update
 RUN apt -y upgrade
 RUN apt -y install build-essential scons zlib1g-dev m4 python-dev python \
-    python-six
+    python-six libelf-dev
index 814ef75d6f2a7ffd154bf884e46877972107ee23..283d3568a5a2f169612a23575d3a0b5ad3ddf24f 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
+    libhdf5-serial-dev python3-pydot libpng-dev libelf-dev
index d2008b6031c39dd7ce3ec9685cf7009b556b97b0..d9521831a6ac91e499d0a87531631f7ba9138bf3 100644 (file)
@@ -38,7 +38,7 @@ RUN apt -y upgrade
 RUN apt -y install 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 gcc-${version} g++-${version}
+    python3-pydot libpng-dev gcc-${version} g++-${version} libelf-dev
 
 RUN update-alternatives --install \
     /usr/bin/g++ g++ /usr/bin/g++-${version} 100