Merge remote-tracking branch 'origin/7' into 8

This commit is contained in:
Sylvestre Ledru 2019-01-17 10:35:07 +01:00
commit f888c7ab8a
3 changed files with 14 additions and 0 deletions

6
debian/changelog vendored
View File

@ -507,6 +507,12 @@ llvm-toolchain-snapshot (1:8~svn340819-1) unstable; urgency=medium
llvm-toolchain-7 (1:7.0.1-5) unstable; urgency=medium
* Add 'Rules-Requires-Root: no' in debian/control
* llvm-7-examples: Force the same version of llvm-7-dev to mitigate
a debci issue
https://ci.debian.net/data/autopkgtest/unstable/amd64/l/llvm-toolchain-7/1635547/log.gz
* Add 'Rules-Requires-Root: no' in debian/control
* Because more and more tools in clang-tools are in python, add
the dependency
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 04 Jan 2019 16:00:41 +0100

1
debian/control vendored
View File

@ -45,6 +45,7 @@ Description: C, C++ and Objective-C compiler
Package: clang-tools-8
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, clang-8 (= ${binary:Version})
python
Description: clang-based tools for C/C++ developments
Clang project is a C, C++, Objective C and Objective C++ front-end
based on the LLVM compiler. Its goal is to offer a replacement to the

View File

@ -34,6 +34,13 @@ if llvm-config-$VERSION --cxxflags | grep " \-W"; then
exit 1
fi
# Test https://bugs.llvm.org/show_bug.cgi?id=40059
nm /usr/lib/llvm-$VERSION/lib/libLLVMBitWriter.a &> foo.log
if grep "File format not recognized" foo.log; then
echo "nm libLLVMBitWriter.a contains 'File format not recognized'"
exit 1
fi
echo '#include <stdlib.h>
int main() {
char *x = (char*)malloc(10 * sizeof(char*));