Commit 955b5760 authored by Gianfranco Costamagna's avatar Gianfranco Costamagna

Fix testsuite on amd64 platform, add missing runtime python modules for llvm-tools package

parent 396b6bf1
......@@ -293,7 +293,7 @@ Description: Modular compiler and toolchain technologies, libraries and headers
Package: llvm-7-tools
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python,
Depends: ${shlibs:Depends}, ${misc:Depends}, python, python-pygments, python-yaml,
llvm-7-dev (= ${binary:Version})
Description: Modular compiler and toolchain technologies, tools
LLVM is a collection of libraries and tools that make it easy to build
......
#!/bin/sh
#!/bin/bash
# Stop at the first error
set -e
......@@ -496,7 +496,8 @@ EOF
echo "if it fails, please run"
echo "apt-get install libc6-dev:i386 libgcc-5-dev:i386 libc6-dev-x32 libx32gcc-5-dev libx32gcc-8-dev"
for SYSTEM in ""; do
for MARCH in -m64 -m32 -mx32 "-m32 -march=i686"; do
# for MARCH in -m64 -m32 -mx32 "-m32 -march=i686"; do
for MARCH in -m64; do
for LIB in --rtlib=compiler-rt -fsanitize=address -fsanitize=thread -fsanitize=memory -fsanitize=undefined -fsanitize=dataflow; do # -fsanitize=efficiency-working-set; do
if test "$MARCH" == "-m32" -o "$MARCH" == "-mx32"; then
if test $LIB == "-fsanitize=thread" -o $LIB == "-fsanitize=memory" -o $LIB == "-fsanitize=dataflow" -o $LIB == "-fsanitize=address" -o $LIB == "-fsanitize=undefined"; then
......
Test-Command: sh -v ./debian/qualify-clang.sh
Depends: @
Test-Command: bash -v ./debian/qualify-clang.sh
Depends: @, cmake
Restrictions: allow-stderr
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment