Commit Graph

1390 Commits

Author SHA1 Message Date
Gianfranco Costamagna
8a5a7e24c8 Add patches to fix objcopy on arm64 2022-05-30 21:51:18 +02:00
Gianfranco Costamagna
2c91d993b2 Add patch to fix insn support on riscv 2022-05-30 21:50:31 +02:00
Sylvestre Ledru
1f7e69e458 Fix a typo in an header (closes: #1005195) 2022-02-08 21:40:25 +01:00
Sylvestre Ledru
129fe31aab simplify the patch 2022-01-13 21:12:42 +01:00
Sylvestre Ledru
a13a744dde rebase of the patches 2022-01-06 00:01:28 +01:00
Sylvestre Ledru
85695b66a9 Revert "rebase of the patches"
This reverts commit 052edd2547.
2021-12-24 18:28:30 +01:00
Sylvestre Ledru
052edd2547 rebase of the patches 2021-12-22 11:03:42 +01:00
Sylvestre Ledru
f89797103e Use the version suffix when calling wasm-ld => wasm-ld-13 https://bugzilla.mozilla.org/show_bug.cgi?id=1747145 2021-12-22 10:30:00 +01:00
Sylvestre Ledru
e54df6f5cb rebase of the patch 2021-12-16 14:55:56 +01:00
Sylvestre Ledru
a58068ab6e Unbreak llvm-toolchain-13 on buster. -fuse-ld=gold wasn't passed to compiler-rt. it was using bfd. And binutils shipping in buster has a bug preventing this to work: https://github.com/llvm/llvm-project/issues/42339 2021-12-16 14:28:24 +01:00
Erik Maciejewski
c39e93a38e add option to disable compiler-rt scudo standalone
patch compiler-rt build to add cmake option for disabling scudo
standalone

add COMPILER_RT_BUILD_SCUDO_STANDALONE=OFF to armel build since the
baseline armv5t arch profile is not supported
2021-11-06 01:25:29 -07:00
Erik Maciejewski
78ee42a8ec adjust llvm-12 openmp runtimes quilt patches for llvm-13
remove patch for openmp/cmake/HandleOpenMPOptions.cmake addressing
the defualt value for `-std` as this as been fixed in llvm 13.0.0
2021-11-03 20:59:09 -07:00
Erik Maciejewski
ffdb0eb41c Merge remote-tracking branch 'origin/12' into 13 2021-11-03 16:13:49 -07:00
Erik Maciejewski
b2fc856dce patch to fix compiler-rt builtins default arch detection for armhf
by adding the same armhf target triple handling used for compiler-rt libs
2021-10-20 22:26:29 -07:00
Erik Maciejewski
d62d68611c patch to add a check and only set up and build compiler-rt builtins
if they have not been disabled in a runtimes build
2021-10-20 22:26:02 -07:00
Sylvestre Ledru
735c3c3745 Rename unbreak-atomic-arm.diff => unbreak-atomic-mips.diff 2021-10-20 07:50:47 +02:00
Erik Maciejewski
a1ea41e97f fix an issue where builtins were not being linked into libcxxabi
if LIBCXXABI_USE_COMPILER_RT=ON, add builtins to libcxxabi library
flags, otherwise add libgcc following how libunwind does the same
2021-10-19 13:42:03 -07:00
Sylvestre Ledru
1b8f088956 Fix a atomic issue. Thanks to YunQiang Su for the patch Partial fix for #995827 2021-10-18 09:26:53 +02:00
Sylvestre Ledru
4c2bb3ab8a remove patch (merged upstream) 2021-10-13 18:18:43 +02:00
Sylvestre Ledru
21595aecfb Disable a tsan and two lldb tests on i386 2021-10-11 14:39:39 +02:00
Sylvestre Ledru
df3fdc5cf5 Disable a tsan test on i386 2021-10-11 14:36:58 +02:00
Erik Maciejewski
42dc2f2752 add some quilt patch comments 2021-10-06 13:09:54 -07:00
Erik Maciejewski
145d0de851 remove patch for lld force linking libatomic 2021-10-06 10:48:06 -07:00
Erik Maciejewski
122c960c4d patch for additional c++ lib supression when building libomp as c library 2021-10-06 10:48:06 -07:00
Erik Maciejewski
11a0af3898 fix new openmp patch overwritting previous openmp-soname patch
remove `debian/rules` libomp file `mv` on install due to patch fix
2021-10-06 10:48:06 -07:00
Erik Maciejewski
22dabd0662 revert patch for runtimes compiler flag checks 2021-10-06 10:48:06 -07:00
Erik Maciejewski
15413dbaf5 remove llvm-config build dir patch file 2021-10-06 10:48:06 -07:00
Erik Maciejewski
6a6014a630 remove patch hardcoding gold linker for compiler-rt 2021-10-06 10:48:06 -07:00
Erik Maciejewski
b5196f1142 remove unnecessary make patch as ninja is the cmake generator 2021-10-06 10:48:06 -07:00
Erik Maciejewski
34c3eb2847 comment out obsolete patch hardcoding gold linker for compiler-rt as
lld is now expected to link all stage1 and stage2 builtins and runtimes
2021-10-06 10:48:06 -07:00
Erik Maciejewski
e3a53b15e8 quilt patches 2021-10-06 10:48:06 -07:00
Sylvestre Ledru
cb8041ccc0 Merge remote-tracking branch 'origin/12' into 13 2021-09-18 18:58:04 +02:00
Sylvestre Ledru
066d9c791a Replace make by ninja for the build process It is now more tested than make by upstream And it is supposed to be faster Removed openmp/bootstrap-with-openmp-version-export-missing.diff as it seems that the ninja move fixed it 2021-09-18 11:37:41 +02:00
Sylvestre Ledru
fca79741ce Remove debian/patches/disable-no-omit-leaf.diff to unbreak apt.llvm.org Will be fixed in rc3 If rc2 needs an upload, please revert this commit 2021-09-11 09:49:30 +02:00
Sylvestre Ledru
52131e56dc cherry-pick upstream package to replace my ugly patch 2021-09-10 14:15:49 +02:00
Sylvestre Ledru
244753c933 compiler-rt scudo, don't add the option -mno-omit-leaf-frame-pointer when building on armel & armhf 2021-09-02 21:36:20 +02:00
Sylvestre Ledru
b4b7a9a432 remove patch applied upstream 2021-09-01 12:42:20 +02:00
Sylvestre Ledru
a31148c013 adjust the test for 13 rc2 2021-08-27 11:53:23 +02:00
Gianfranco Costamagna
6f858259b4 Merge branch '12' into 13 2021-08-27 11:41:13 +02:00
Gianfranco Costamagna
998cabd4e7 Update changelog, add an omp-riscv64 patch not yet upstreamed to help omp build successfully there 2021-08-27 11:21:58 +02:00
Sylvestre Ledru
7a5f476569 debian: Include SPIR-V (*.spv) outputs in libclc package
This adds the following to the libclc-12 package:

/usr/lib/clc/spirv64-mesa3d-.spv
/usr/lib/clc/spirv-mesa3d-.spv

Since Debian buster & Ubuntu 18.04 don't have the llvm-spirv package,
they cannot support this feature. Therefore, as suggested by tjaalton,
we make the control Build-Depends for spirv dependencies include
"| hello".

This causes the simple "hello world" package to be installed on these
older distros, which is small and unrelated to llvm. Then, in
debian/rules, we check to see if llvm-spirv is installed.

Note that sbuild must use `--resolve-alternatives` for these older
distributions, or sbuild won't search for the "hello" alternatives in
the Build-Depends.

Signed-off-by: Jordan Justen <jljusten@debian.org>
2021-08-27 09:41:17 +02:00
Sylvestre Ledru
39fe1d611c rebase of the patch 2021-08-26 20:55:34 +02:00
Sylvestre Ledru
4af5b56aef clang-soname-extract-version.diff: improve the upstream declaration 2021-08-21 14:04:13 +02:00
Jordan Justen
ff5ad94c9d
debian: Include SPIR-V (*.spv) outputs in libclc package
This adds the following to the libclc-12 package:

/usr/lib/clc/spirv64-mesa3d-.spv
/usr/lib/clc/spirv-mesa3d-.spv

Since Debian buster & Ubuntu 18.04 don't have the llvm-spirv package,
they cannot support this feature. Therefore, as suggested by tjaalton,
we make the control Build-Depends for spirv dependencies include
"| hello".

This causes the simple "hello world" package to be installed on these
older distros, which is small and unrelated to llvm. Then, in
debian/rules, we check to see if llvm-spirv is installed.

Note that sbuild must use `--resolve-alternatives` for these older
distributions, or sbuild won't search for the "hello" alternatives in
the Build-Depends.

Signed-off-by: Jordan Justen <jljusten@debian.org>
2021-08-19 00:33:09 -07:00
Sylvestre Ledru
a5c59c995f Merge remote-tracking branch 'origin/12' into 13 2021-08-18 13:23:10 +02:00
Sylvestre Ledru
c5b9334be2 Revert "libclc: Include libclc spir-v outputs (used by Mesa opencl)"
This reverts commit f572d3695e.
2021-08-18 12:47:45 +02:00
Sylvestre Ledru
1b732c2af9 Merge remote-tracking branch 'origin/12' into 13 2021-08-17 13:45:49 +02:00
Jordan Justen
f572d3695e
libclc: Include libclc spir-v outputs (used by Mesa opencl)
This adds the following to the libclc-12 package:

/usr/lib/clc/spirv64-mesa3d-.spv
/usr/lib/clc/spirv-mesa3d-.spv

Signed-off-by: Jordan Justen <jljusten@debian.org>
2021-08-16 01:01:39 -07:00
Sylvestre Ledru
49b3cf76f1 fix scanbuild py 2021-08-04 15:29:01 +02:00
Sylvestre Ledru
b32eed2767 remove the revert as it has been fixed upstream 2021-07-31 09:19:47 +02:00