Commit Graph

4175 Commits

Author SHA1 Message Date
Sylvestre Ledru
6498d613d1 add a new test to import the libclang 2021-08-16 21:56:55 +02:00
Sylvestre Ledru
7682e85772 fix conflict in a script 2021-08-16 21:56:33 +02:00
Sylvestre Ledru
9a0b8c2663 Add a new variable called SONAME_CLANG as clang soname has started with llvm-toolchain-13. it is normal that 13 is what is seen in 14 or later version as it is bumped only with abi changes 2021-08-16 15:49:00 +02:00
Sylvestre Ledru
fe53b80fb8 Add symbol clang_CompileCommand_getNumMappedSources to libclang 2021-08-11 13:10:34 +02:00
Sylvestre Ledru
5d8ec6a318 Merge remote-tracking branch 'origin/12' into 13 2021-08-09 13:08:36 +02:00
Sylvestre Ledru
c59ca700a1 Don't build libunwind on hurd, armel, powerpc & mipsel 2021-08-09 13:08:36 +02:00
Sylvestre Ledru
c0181fe78d Fix a test -stdlib=libc++ -unwindlib=libunwind -rtlib=compiler-rt -static-libstdc++ -static-libgcc test.cpp -lpthread -ldl -o test 2021-08-09 13:08:04 +02:00
Sylvestre Ledru
7a22a0e1ff Don't build libunwind on hurd, armel, powerpc & mipsel 2021-08-08 11:07:52 +02:00
Sylvestre Ledru
f950e2d7ca unwind: fix the version 2021-08-08 11:02:42 +02:00
Sylvestre Ledru
8898d4f746 Merge remote-tracking branch 'origin/12' into 13 2021-08-08 11:02:11 +02:00
Sylvestre Ledru
4ea50e0e0f Don't build libunwind on armel & mipsel 2021-08-08 11:01:49 +02:00
Sylvestre Ledru
42af26b2d7 Make libunwind-dev depends on libunwind 2021-08-08 10:59:13 +02:00
Sylvestre Ledru
49b3cf76f1 fix scanbuild py 2021-08-04 15:29:01 +02:00
Sylvestre Ledru
0c10ea95e7 fix the version 2021-08-03 09:32:30 +02:00
Sylvestre Ledru
38d3fddeb9 Merge remote-tracking branch 'origin/12' into 13 2021-08-02 11:00:53 +02:00
Sylvestre Ledru
a5528e133e libc++ & libc++ abi: only pass -DLIBCXXABI_USE_LLVM_UNWINDER=YES if libunwind is available on the platform 2021-08-02 10:59:45 +02:00
Sylvestre Ledru
45acb9d788 Merge remote-tracking branch 'origin/12' into 13 2021-08-01 20:40:33 +02:00
Sylvestre Ledru
cb191ac1b3 fix the build of libunwind 2021-08-01 20:40:14 +02:00
Sylvestre Ledru
e49370b38a Merge remote-tracking branch 'origin/12' into 13 2021-08-01 18:09:24 +02:00
Sylvestre Ledru
62bcced93d fix the version when using the ugly testing script 2021-08-01 18:09:08 +02:00
Sylvestre Ledru
3e1c4e5fd9 Merge remote-tracking branch 'origin/12' into 13 2021-08-01 11:43:45 +02:00
Sylvestre Ledru
c039e0465f Build libunwind only on amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64 sparc sparc64 Not supported on s390x for example 2021-08-01 11:43:19 +02:00
Sylvestre Ledru
f20d336773 fix changelog 2021-07-31 21:06:27 +02:00
Sylvestre Ledru
972d4e79a4 * Adjust libclang:
- upstream decided to make it stable starting from 13, with the soname
  - for now, I am not planning to rename libclang1-13 to libclang13 as it will
    cause too much churn for a small gain as we will keep libllvm (while
    losing the capability to have different versions in parallel installed)
2021-07-31 12:33:52 +02:00
Sylvestre Ledru
b32eed2767 remove the revert as it has been fixed upstream 2021-07-31 09:19:47 +02:00
Sylvestre Ledru
df0335094d * Generate libunwind-13 & libunwind-13-dev packages
* Add the following option to the libc++ build:
  -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON
  -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON
  -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF
   to address upstream bug 46321
* Make libc++abi use libunwind
* d/rules: Adjust cmake defines to fix libclc.pc paths
* Add the following option to the libc++ build:
  -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON
  -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON
  -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF
   to address upstream bug 46321
* Build libunwind
* Add riscv64 architecture in control
  enable liblldb, libomp and others which are
  currently unavailable in riscv64 repository.
* Add libxml2 as a dependency as it is necessary
  for llvm manifest tool (llvm-mt)
  (Closes: #990537)
* d/rules: Adjust cmake defines to fix libclc.pc paths
2021-07-30 22:09:10 +02:00
Sylvestre Ledru
13740e79ae Fix changelog 2021-07-30 14:49:34 +02:00
Sylvestre Ledru
8f6718bcb1 Make libc++abi use libunwind 2021-07-30 14:49:11 +02:00
Sylvestre Ledru
6b84ba401e Build libunwind 2021-07-30 14:49:04 +02:00
Sylvestre Ledru
d7b9f6065e also test the execution 2021-07-30 14:48:16 +02:00
Sylvestre Ledru
4424a0f166 fix changelog 2021-07-30 14:30:40 +02:00
Sylvestre Ledru
3c58d712e5 Merge branch '12' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 12 2021-07-30 14:29:20 +02:00
Sylvestre Ledru
c72a6c0e50 Generate libunwind-12 & libunwind-12-dev packages 2021-07-30 14:27:04 +02:00
Sylvestre Ledru
1ee42313c8 also suggest the removal of libclc 2021-07-30 09:17:41 +02:00
Sylvestre Ledru
570118155e Branching of snapshot into 13 2021-07-28 18:42:19 +02:00
Sylvestre Ledru
8358f9498b Add the following option to the libc++ build: -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF to address upstream bug 46321 2021-07-27 17:58:15 +02:00
Jordan Justen
e001f3ee5b
d/rules: Adjust cmake defines to fix libclc.pc paths
Before this change, /usr/lib/pkgconfig/libclc.pc contained these
invalid paths:

includedir=/usr/local//usr/include
libexecdir=/usr/local//usr/lib/clc

Signed-off-by: Jordan Justen <jljusten@debian.org>
2021-07-19 01:21:45 -07:00
Sylvestre Ledru
b852e4851c rebase of the patches 2021-07-17 23:13:38 +02:00
Sylvestre Ledru
66b537ad0b add a new file to update when preparing a new release 2021-07-17 23:00:13 +02:00
Sylvestre Ledru
e7aa593842 adjust the scan-build-py path 2021-07-17 20:18:58 +02:00
Sylvestre Ledru
e0994366bb Merge remote-tracking branch 'origin/12' into snapshot 2021-07-17 20:18:42 +02:00
Sylvestre Ledru
50d9eaeca8 adjust the scan-build-py path 2021-07-17 20:16:39 +02:00
Sylvestre Ledru
8bc9153875 Merge remote-tracking branch 'origin/11' into 12 2021-07-17 20:16:19 +02:00
Sylvestre Ledru
bee0e9fdfb also mention a change from -11 2021-07-17 20:15:55 +02:00
Sylvestre Ledru
828b18e02f Fix changelog 2021-07-17 20:15:52 +02:00
Sylvestre Ledru
7968be8f04 * Fix the default binary path for scan-build-py to clang-11 (instead of
clang) - see scan-build-py-fix-default-bin.diff
  tested by
  https://github.com/opencollab/llvm-toolchain-integration-test-suite/
  - not really working for now
2021-07-17 20:14:53 +02:00
Sylvestre Ledru
ed64f98bf8 fix dep 2021-07-16 08:58:50 +02:00
Sylvestre Ledru
e88c61a6c9 fix dep 2021-07-16 00:03:39 +02:00
Sylvestre Ledru
e1e4abe8fc Revert "Workaround a compilation issue with libclc https://bugs.llvm.org/show_bug.cgi?id=51063"
This reverts commit 0d5176e591.
2021-07-15 19:51:32 +02:00
Sylvestre Ledru
ab58d4d880 fix a silly merge mistake 2021-07-15 13:25:28 +02:00