Commit Graph

5066 Commits

Author SHA1 Message Date
Faidon Liambotis
50a54f4edc Build compiler-rt for wasm32 and wasm64
Current shortcomings/future work:

 * Unfortunately this currently takes the form of a separate, standalone
   build (with the just-built stage2 toolchain), which makes this a
   little more convoluted. The upstream compiler-rt build system does
   not have a way (that I could find) to manually add additional targets
   to the build.

 * GNU strip (binutils) does not understand the WebAssembly binary, so
   dh_strip fails. llvm-strip does, but a) does not understand all the
   arguments that dh_strip passes (e.g. -N), b) fails with "invalid
   relocation offset" on --strip-debug (but works with --strip-all).

   This currently passes -X to dh_strip to exclude them from being
   stripped entirely. Invoking llvm-strip manually with --strip-all can
   be considered in the future.

* The wasm32/wasm64 binaries are, by design, architecture-independent.
  With this commit, they are being built in every architecture, and
  shipped in the libclang-common-X.Y-dev package, which is arch: any,
  but ships both architecture-dependent (native/host compiler-rt) and
  architecture-independent files (include headers etc.).

  In a future iteration, the wasm32/wasm64 compiler-rt library could be
  factored out to a separate (arch: all) package. This is left
  outstanding because it should probably happen alongside a different
  split for libclang-common-X.Y-dev that will include splitting the
  native libclang-rt as well.

Closes: #1010932
2022-10-07 15:51:42 +02:00
Faidon Liambotis
6ba6091ca0 Fix NJOBS when DEB_BUILD_OPTIONS is not present
NJOBS is supposed to have the -j argument (as in the DEB_BUILD_OPTIONS
case)
2022-10-07 15:51:33 +02:00
Sylvestre Ledru
25af6d2de8 Fix a typo to silent lintian (Closes: #1018770) 2022-08-30 16:10:59 +02:00
Sylvestre Ledru
745b679791 Merge remote-tracking branch 'origin/13' into 14 2022-07-23 23:02:50 +02:00
Sylvestre Ledru
85cc421c20 Improve the changelog 2022-07-22 15:10:33 +02:00
Sylvestre Ledru
42569b7106 Merge branch 'links' into '13'
Add symlink from /usr/include/c++/v1 -> /usr/lib/llvm-N/include/c++/v1

See merge request pkg-llvm-team/llvm-toolchain!95
2022-07-22 13:08:42 +00:00
Sam McCall
75942c53c7 Add symlink from /usr/include/c++/v1 -> /usr/lib/llvm-N/include/c++/v1 2022-07-22 13:08:40 +00:00
Sylvestre Ledru
0afa93c242 * New upstream release
* Remove cv-insn-support.patch (applied upstream)
2022-06-25 09:56:48 +02:00
Sylvestre Ledru
a83ccec780 * New upstream release
* Only install grpc files libclang-X.Y-dev when grpc built
* autopkgtest: Restrict debian/qualify-clang.sh on
  amd64 arm64 i386
2022-06-25 09:48:16 +02:00
Sylvestre Ledru
2114e1f315 do not apply debian/patches//risc/riscv-insn-support.patch anymore as it doesn't apply on 14 2022-06-09 23:42:35 +02:00
Sylvestre Ledru
53b4c9a9e3 document the change systemd-binfmt 2022-06-06 13:44:19 +02:00
Sylvestre Ledru
3bd5d30181 remove 13 specific patches 2022-06-06 13:42:42 +02:00
Sylvestre Ledru
006b642aad Merge remote-tracking branch 'origin/13' into 14 2022-06-06 13:41:46 +02:00
Sylvestre Ledru
2ca8a48870 Merge branch 'systemd-binfmt-13' into '13'
Add support for systemd-binfmt

See merge request pkg-llvm-team/llvm-toolchain!92
2022-06-06 08:09:02 +00:00
Michael Biebl
9e97bbf4d9 Update changelog 2022-06-06 01:19:32 +02:00
Michael Biebl
f60d81e883 Add support for systemd-binfmt
Closes: #1012367
2022-06-05 20:50:24 +02:00
Gianfranco Costamagna
908b2ac265 Upload to sid 2022-06-04 15:31:22 +02:00
Gianfranco Costamagna
352843f570 Enable grpc on riscv64 2022-06-04 15:30:29 +02:00
Sylvestre Ledru
b6ea556012 Fix copy/paste 2022-06-03 13:11:41 +02:00
Sylvestre Ledru
21c2fc909d prepare release 2022-06-03 11:54:37 +02:00
Sylvestre Ledru
922aee77b8 Only install grpc files libclang-X.Y-dev when grpc built 2022-06-03 10:54:53 +02:00
John Paul Adrian Glaubitz
e69ad9421a Disable compiler-rt built-ins on x32 2022-06-01 07:37:38 +02:00
John Paul Adrian Glaubitz
a142ae4302 Disable compiler-rt built-ins on x32 2022-06-01 07:35:53 +02:00
Gianfranco Costamagna
4f6947b5a7 Merge remote-tracking branch 'origin/14' into 14 2022-05-31 14:01:09 +02:00
Gianfranco Costamagna
071e52fec4 Enable grpc on riscv64 too 2022-05-31 12:46:36 +02:00
Gianfranco Costamagna
51502916c4 Fix GRPC installation due to renamed binaries 2022-05-31 12:38:47 +02:00
Sylvestre Ledru
c1be403d15 fix changelog 2022-05-31 08:37:18 +02:00
Gianfranco Costamagna
550cf10894 Update changelog 2022-05-30 22:19:11 +02:00
Gianfranco Costamagna
4afa87abac rules: take some patches from Ubuntu to save extra space during build 2022-05-30 22:18:15 +02:00
Gianfranco Costamagna
eee8322010 Add support for Ubuntu kinetic 2022-05-30 22:18:03 +02:00
Gianfranco Costamagna
b8e0a22e40 Fix GRPC installation for ports architectures 2022-05-30 22:17:37 +02:00
Gianfranco Costamagna
14cf2917bf Add breaks/replaces for grpc binaries being placed in another package in Ubuntu 2022-05-30 22:17:02 +02:00
Gianfranco Costamagna
38ee75d254 Update changelog 2022-05-30 21:53:38 +02:00
Gianfranco Costamagna
955bdbadde Update changelog 2022-05-30 21:51:30 +02:00
Gianfranco Costamagna
8a5a7e24c8 Add patches to fix objcopy on arm64 2022-05-30 21:51:18 +02:00
Gianfranco Costamagna
b6ca1c63fe Fix cosmetic typo in rules file 2022-05-30 21:50:57 +02:00
Gianfranco Costamagna
2c91d993b2 Add patch to fix insn support on riscv 2022-05-30 21:50:31 +02:00
Gianfranco Costamagna
ac224cb321 Break/Replaces for llvm-13-dev, because grpc files were installed wrongly in this package 2022-05-30 21:47:35 +02:00
Gianfranco Costamagna
99f8cfdd6c Fix libclang grpc installation on ports 2022-05-30 21:47:15 +02:00
Sylvestre Ledru
1341e59355 remove debug 2022-05-30 09:11:02 +02:00
Sylvestre Ledru
001e029990 fix changelog 2022-05-30 09:10:10 +02:00
John Paul Adrian Glaubitz
247b8fa3f1 Exclude lib{Monitoring,RemoteIndex}*Proto.a on m68k and sparc64 2022-05-17 09:57:22 +02:00
Sylvestre Ledru
8699fb05dc remove of the patch 2022-05-16 15:52:22 +02:00
Sylvestre Ledru
21058bb901 rebase of the patch 2022-05-16 15:52:17 +02:00
John Paul Adrian Glaubitz
c720154003 Enable GRPC build dependency only on supported targets 2022-05-13 21:12:36 +02:00
John Paul Adrian Glaubitz
6407b099c8 Enable GRPC build dependency only on supported targets 2022-05-13 21:05:36 +02:00
Sylvestre Ledru
06906f3a85 fix the curl call in cmake 2022-05-13 18:44:33 +02:00
Sylvestre Ledru
7aacd1c124 check if llvm-debuginfod-find has been built with curl 2022-05-10 09:09:01 +02:00
Sylvestre Ledru
9ff1cecb07 fix the changelog 2022-05-10 09:04:41 +02:00
Sylvestre Ledru
c0119c7f46 Add the option -DLLVM_ENABLE_CURL=ON See https://github.com/llvm/llvm-project/issues/55289 2022-05-10 09:03:32 +02:00