mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-11 19:55:41 +00:00
Merge branch '7' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 7
This commit is contained in:
commit
c755f1a46f
20
debian/qualify-clang.sh
vendored
20
debian/qualify-clang.sh
vendored
@ -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
3
debian/rules
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user