Commit Graph

1034 Commits

Author SHA1 Message Date
Sylvestre Ledru
c59ca700a1 Don't build libunwind on hurd, armel, powerpc & mipsel 2021-08-09 13:08:36 +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
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
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
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
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
8f6718bcb1 Make libc++abi use libunwind 2021-07-30 14:49:11 +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
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
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
0d5176e591 Workaround a compilation issue with libclc https://bugs.llvm.org/show_bug.cgi?id=51063 2021-07-14 22:46:07 +02:00
Sylvestre Ledru
e2793c0903 Merge remote-tracking branch 'origin/12' into snapshot 2021-07-11 23:45:00 +02:00
Sylvestre Ledru
2eee318cfd Revert "Build libc++ & libc++abi with -fPIC to fix upstream bug 43604"
This reverts commit da2abef4ec.
2021-06-02 20:19:51 +02:00
Sylvestre Ledru
da2abef4ec Build libc++ & libc++abi with -fPIC to fix upstream bug 43604 2021-06-01 13:35:16 +02:00
Sylvestre Ledru
80b05a65cc Revert "Add -fvisibility-inlines-hidden -Bsymbolic-functions -fno-semantic-interposition to the args to make clang faster See https://github.com/ClangBuiltLinux/tc-build/issues/150#issuecomment-849935207"
Doesn't provide perf win

This reverts commit 9d45d3f6a0.
2021-05-31 23:35:39 +02:00
Sylvestre Ledru
9d45d3f6a0 Add -fvisibility-inlines-hidden -Bsymbolic-functions -fno-semantic-interposition to the args to make clang faster See https://github.com/ClangBuiltLinux/tc-build/issues/150#issuecomment-849935207 2021-05-28 22:58:39 +02:00
Sylvestre Ledru
03b9ba6fcf remove old rules for stretch, xenial & trusty 2021-05-10 13:32:37 +02:00
Sylvestre Ledru
27037fc17d remove old rules for stretch, xenial & trusty 2021-05-10 13:31:57 +02:00
Timo Aaltonen
437f86c9d5 Build libclc. (Closes: #942709) 2021-05-01 01:02:54 +03:00
John Paul Adrian Glaubitz
70d189d8f0 Disable OpenMP on m68k 2021-04-23 11:24:51 +02:00
Sylvestre Ledru
d22130608a show the last 100 lines in case of error 2021-04-18 23:36:27 +02:00
Sylvestre Ledru
8c5e1bc5bd remove the 12 specific workaround 2021-04-18 23:07:39 +02:00
Sylvestre Ledru
73e19b411d workaround the breaks/replaces/conflicts introduced with llvm-12-linker-tools
we update the version to make it work with apt.llvm.org
Yeah, this is ugly but I don't know how to do better
2021-04-18 23:07:39 +02:00
Sylvestre Ledru
45ae3483fe cmake & its libs, try to replicate that I did for 11 (will be done in 13 if it works 2021-04-18 23:07:39 +02:00
Sylvestre Ledru
d46c88e66a * Disable again LTO
* Create a new package llvm-12-linker-tools:
  Contains the LLVMgold and LLVMPolly linker plugins.
2021-04-18 23:07:14 +02:00
Sylvestre Ledru
3f4584b9bc try to unbreak the s390x build issue 2021-04-18 23:06:28 +02:00
Sylvestre Ledru
f01f2c149c * Improve the clean rule
* Disable again LTO
* Create a new package llvm-12-linker-tools:
  Contains the LLVMgold and LLVMPolly linker plugins.
* New upstream release
* Add -DCMAKE_SUPPRESS_REGENERATION=ON to limit the number of calls
  to cmake
  Try to workaround a bug on llvm-toolchain-stretch-12-binaries
  architecture=s390x,stretch
* New testing upstream release
2021-04-18 23:05:58 +02:00
Sylvestre Ledru
05186fccef workaround the breaks/replaces/conflicts introduced with llvm-12-linker-tools
we update the version to make it work with apt.llvm.org
Yeah, this is ugly but I don't know how to do better
2021-04-18 10:26:25 +02:00
Sylvestre Ledru
80169bff18 cmake & its libs, try to replicate that I did for 11 (will be done in 13 if it works 2021-04-18 00:42:07 +02:00
Sylvestre Ledru
a1792c0e95 cmake & its libs, try to replicate that I did for 11 (will be done in 13 if it works 2021-04-18 00:10:22 +02:00
Sylvestre Ledru
608f891ab3 * Disable again LTO
* Create a new package llvm-12-linker-tools:
  Contains the LLVMgold and LLVMPolly linker plugins.
2021-04-15 13:33:03 +02:00
Sylvestre Ledru
fae4751a3b bring back the deactivation of lto 2021-04-15 13:31:28 +02:00
Sylvestre Ledru
e57e0ef8a1 * Improve the clean rule 2021-04-15 13:29:00 +02:00
John Paul Adrian Glaubitz
805991b3e5 Re-enable the M68k backend which now builds without patches 2021-04-13 10:10:21 +02:00
Sylvestre Ledru
1b961d5c3a try to unbreak the s390x build issue 2021-04-10 19:53:30 +02:00
Sylvestre Ledru
3c071c42ce Add -DCMAKE_SUPPRESS_REGENERATION=ON to limit the number of calls to cmake Try to workaround a bug on llvm-toolchain-stretch-12-binaries architecture=s390x,stretch 2021-04-10 14:59:21 +02:00
John Paul Adrian Glaubitz
9541eb713b Set LLVM_DEFAULT_TARGET_TRIPLE to x86_64-linux-gnux32 on x32 2021-04-06 09:13:34 +02:00
John Paul Adrian Glaubitz
6a524ab373 Set LLVM_HOST_TRIPLE to x86_64-linux-gnux32 on x32 2021-04-06 09:12:23 +02:00
Sylvestre Ledru
3fc99ec518 Disable all m68k patches & the build.
This has been breaking the apt.llvm.org CI on two trivial issues which
shows that they haven't been tested:
* patch doesn't apply
* ./build-llvm/tools/clang/tools/driver/./build-llvm/include/llvm/Config/Targets.def:43: undefined reference to `LLVMInitializeM68kTargetInfo'
2021-04-05 09:51:07 +02:00
Sylvestre Ledru
67198b1091 Merge remote-tracking branch 'origin/12' into snapshot 2021-04-04 19:04:41 +02:00
John Paul Adrian Glaubitz
b67e68fdb5 Enable building the new experimental M68k backend 2021-04-04 17:58:04 +02:00
Sylvestre Ledru
6849d787c4 revert the changes on cmake/ld_library_path as it seems they are breaking stretch 2021-04-04 14:44:19 +02:00
Sylvestre Ledru
5e3bccc758 Merge remote-tracking branch 'origin/12' into snapshot 2021-04-03 09:52:59 +02:00