[analyzer][tests] Add 5 more projects for testing

Differential Revision: https://reviews.llvm.org/D83701
This commit is contained in:
Valeriy Savchenko 2020-07-13 15:48:07 +03:00
parent 5b4f143564
commit 089a0ad8bc
13 changed files with 62 additions and 1 deletions

View File

@ -42,6 +42,16 @@ RUN apt-get install -y \
libjsonrpccpp-dev=0.7.0-1build2 \
uuid-dev=2.31.1-0.4ubuntu3.6
# tmux dependencies
RUN apt-get install -y \
autotools-dev=20180224.1 \
automake=1:1.15.1-3ubuntu2 \
libncurses5-dev=6.1-1ubuntu1.18.04 \
libevent-dev=2.1.8-stable-4build1 \
pkg-config=0.29.1-0ubuntu2 \
flex=2.6.4-6 \
bison=2:3.0.4.dfsg-1build1
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
VOLUME /analyzer

View File

@ -50,7 +50,7 @@ def is_cmake_needed():
CMAKE_COMMAND = "cmake -G Ninja -DCMAKE_BUILD_TYPE=Release " \
"-DCMAKE_INSTALL_PREFIX=/analyzer -DLLVM_TARGETS_TO_BUILD=X86 " \
"-DLLVM_ENABLE_PROJECTS=clang -DLLVM_BUILD_RUNTIME=OFF " \
"-DLLVM_ENABLE_PROJECTS=\"clang;openmp\" -DLLVM_BUILD_RUNTIME=OFF " \
"-DLLVM_ENABLE_TERMINFO=OFF -DCLANG_ENABLE_ARCMT=OFF " \
"-DCLANG_ENABLE_STATIC_ANALYZER=ON"

View File

@ -0,0 +1 @@
rm -rf ./build

View File

@ -0,0 +1,2 @@
cmake . -DCMAKE_BUILD_TYPE=Debug -Bbuild -GNinja
cmake --build build

View File

@ -0,0 +1 @@
rm -rf ./build

View File

@ -0,0 +1,2 @@
cmake . -DCMAKE_BUILD_TYPE=Debug -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -Bbuild -GNinja
cmake --build build

View File

@ -0,0 +1 @@
make clean

View File

@ -0,0 +1,2 @@
./configure --without-cuda
make

View File

@ -0,0 +1 @@
rm -rf ./build

View File

@ -0,0 +1,2 @@
cmake . -DCMAKE_BUILD_TYPE=Debug -Bbuild -GNinja
cmake --build build

View File

@ -103,5 +103,40 @@
"source": "git",
"origin": "https://github.com/google/re2.git",
"commit": "2b25567"
},
{
"name": "cppcheck",
"mode": 1,
"source": "git",
"origin": "https://github.com/danmar/cppcheck.git",
"commit": "5fa3d53"
},
{
"name": "harfbuzz",
"mode": 1,
"source": "git",
"origin": "https://github.com/harfbuzz/harfbuzz.git",
"commit": "f8d345e"
},
{
"name": "capnproto",
"mode": 1,
"source": "git",
"origin": "https://github.com/capnproto/capnproto.git",
"commit": "8be1c9f"
},
{
"name": "tmux",
"mode": 1,
"source": "git",
"origin": "https://github.com/tmux/tmux.git",
"commit": "a5f99e1"
},
{
"name": "faiss",
"mode": 1,
"source": "git",
"origin": "https://github.com/facebookresearch/faiss.git",
"commit": "9e5d5b7"
}
]

View File

@ -0,0 +1,2 @@
make distclean
exit 0

View File

@ -0,0 +1,2 @@
./autogen.sh
./configure && make