Merge branch '7' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 7

This commit is contained in:
Sylvestre Ledru 2018-11-16 10:35:24 +01:00
commit c755f1a46f
2 changed files with 23 additions and 0 deletions

View File

@ -86,6 +86,26 @@ clang++-$VERSION -c foo.cc
# Bug 913213
echo '#include <limits.h>' | clang-$VERSION -E - > /dev/null
# Bug launchpad #1488254
echo '
#include <string>
std::string hello = "Hello, world!\n";
' > foo.cc
echo '
#include <string>
#include <iostream>
extern std::string hello;
int main() {
std::cout << hello;
return 0;
} ' > bar.cc
g++ -c foo.cc && g++ foo.o bar.cc && ./a.out > /dev/null || true
clang++-$VERSION -c foo.cc && clang++-$VERSION foo.o bar.cc && ./a.out > /dev/null
g++ -c foo.cc && clang++ foo.o bar.cc && ./a.out > /dev/null || true
clang++-$VERSION -c foo.cc -fPIC && g++ foo.o bar.cc && ./a.out > /dev/null || true
# bug 827866
echo 'bool testAndSet(void *atomic) {
return __atomic_test_and_set(atomic, __ATOMIC_SEQ_CST);

3
debian/rules vendored
View File

@ -808,5 +808,8 @@ override_dh_auto_clean:
rm -f $(CURDIR)/clang/tools/clang-format/clang-format-diff-$(LLVM_VERSION)
rm -f $(CURDIR)/clang/tools/clang-format/clang-format-$(LLVM_VERSION).py
rm -rf libcxx/build libcxxabi/build
if test -f lld/docs/ld.lld-$(LLVM_VERSION).1; then \
mv lld/docs/ld.lld-$(LLVM_VERSION).1 lld/docs/ld.lld.1; \
fi
.PHONY: override_dh_strip preconfigure debian-full-build debian-libfuzzer-build debian-libcxx-build debian-libcxxabi-build