[PATCH] D81600: [analyzer] SATest: Fix package versions for test dependencies

Valeriy Savchenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 10 11:05:37 PDT 2020


vsavchenko created this revision.
vsavchenko added reviewers: NoQ, dcoughlin.
Herald added subscribers: cfe-commits, ASDenysPetrov, Charusso, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, szepet, baloghadamsoftware, xazax.hun.
Herald added a project: clang.

Another possible difference between various users of the
testing system might be a change in dependencies installed on the
container.  This commit tries to prevent any problem related to
different versions of the libraries/headers used and fixes them to
currently installed versions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81600

Files:
  clang/utils/analyzer/Dockerfile


Index: clang/utils/analyzer/Dockerfile
===================================================================
--- clang/utils/analyzer/Dockerfile
+++ clang/utils/analyzer/Dockerfile
@@ -13,34 +13,34 @@
 
 # test system dependencies
 RUN apt-get update && apt-get install -y \
-    git \
-    gettext \
-    python3 \
-    python3-pip \
-    cmake \
-    ninja-build
+    git=1:2.17.1-1ubuntu0.7 \
+    gettext=0.19.8.1-6ubuntu0.3 \
+    python3=3.6.7-1~18.04 \
+    python3-pip=9.0.1-2.3~ubuntu1.18.04.1 \
+    cmake=3.17.3-0kitware1 \
+    ninja-build=1.8.2-1
 
 # box2d dependencies
 RUN apt-get install -y \
-    libx11-dev \
-    libxrandr-dev \
-    libxinerama-dev \
-    libxcursor-dev \
-    libxi-dev
+    libx11-dev=2:1.6.4-3ubuntu0.2 \
+    libxrandr-dev=2:1.5.1-1 \
+    libxinerama-dev=2:1.1.3-1 \
+    libxcursor-dev=1:1.1.15-1 \
+    libxi-dev=2:1.7.9-1
 
 # symengine dependencies
 RUN apt-get install -y \
-    libgmp10 \
-    libgmp-dev
+    libgmp10=2:6.1.2+dfsg-2 \
+    libgmp-dev=2:6.1.2+dfsg-2
 
 # simbody dependencies
 RUN apt-get install -y \
-    liblapack-dev
+    liblapack-dev=3.7.1-4ubuntu1
 
 # drogon dependencies
 RUN apt-get install -y \
-    libjsonrpccpp-dev \
-    uuid-dev
+    libjsonrpccpp-dev=0.7.0-1build2 \
+    uuid-dev=2.31.1-0.4ubuntu3.6
 
 RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81600.269907.patch
Type: text/x-patch
Size: 1363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200610/5eb6afd9/attachment-0001.bin>


More information about the cfe-commits mailing list