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

This commit is contained in:
Sylvestre Ledru 2021-07-30 14:29:20 +02:00
commit 3c58d712e5
3 changed files with 25 additions and 2 deletions

10
debian/changelog vendored
View File

@ -1,21 +1,27 @@
llvm-toolchain-12 (1:12.0.1-2) unstable; urgency=medium
* Generate libunwind-12 & libunwind-12-dev packages
* Add the following option to the libc++ build:
-DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON
[ Kasper Kantz ]
* Add riscv64 architecture in control
enable liblldb, libomp and others which are
currently unavailable in riscv64 repository.
[ Kasper Kantz ]
[ Krzysztof Aleksander Pyrkosz ]
* Add libxml2 as a dependency as it is necessary
for llvm manifest tool (llvm-mt)
(Closes: #990537)
[ Krzysztof Aleksander Pyrkosz ]
[ Jordan Justen ]
* d/rules: Adjust cmake defines to fix libclc.pc paths
(Closes: #990537)
[ Jordan Justen ]
* d/rules: Adjust cmake defines to fix libclc.pc paths
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 12 Jul 2021 08:19:59 +0200
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 27 Jul 2021 00:01:29 +0200
llvm-toolchain-12 (1:12.0.1-1) unstable; urgency=medium

View File

@ -939,6 +939,20 @@ clang++-$VERSION -std=c++11 -stdlib=libc++ foo.cpp -o o
clang++-$VERSION -std=c++14 -stdlib=libc++ foo.cpp -lc++experimental -o o
./o > /dev/null
# Bug 46321
cat > test.cpp << EOF
#include <iostream>
int main() {
std::cout << "Hello World!" << std::endl;
}
EOF
clang++-$VERSION -stdlib=libc++ -unwindlib=libunwind -rtlib=compiler-rt -static-libstdc++ -static-libgcc test.cpp &> /dev/null || true
clang++-$VERSION -stdlib=libc++ -static-libstdc++ -fuse-ld=lld -l:libc++abi.a test.cpp -o test
./test
clang++-$VERSION -stdlib=libc++ -nostdlib++ test.cpp -l:libc++.a -l:libc++abi.a -pthread -o test
# Bug 889832
echo '#include <iostream>
int main() {}' | clang++-$VERSION -std=c++1z -x c++ -stdlib=libc++ -

3
debian/rules vendored
View File

@ -473,6 +473,9 @@ LIBCXX_CMAKE_OPTIONS := \
-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
-DLIBCXX_USE_COMPILER_RT=YES \
-DLIBCXXABI_USE_COMPILER_RT=YES \
-DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON \
-DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON \
-DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF \
$(CMAKE_EXTRA) \
$(CMAKE_EXTRA_LIBCXX)