Commit Graph

672 Commits

Author SHA1 Message Date
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
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
145d0de851 remove patch for lld force linking libatomic 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
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
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
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
b32eed2767 remove the revert as it has been fixed upstream 2021-07-31 09:19:47 +02:00
Sylvestre Ledru
e0994366bb Merge remote-tracking branch 'origin/12' into snapshot 2021-07-17 20:18:42 +02:00
Sylvestre Ledru
8bc9153875 Merge remote-tracking branch 'origin/11' into 12 2021-07-17 20:16:19 +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
e2793c0903 Merge remote-tracking branch 'origin/12' into snapshot 2021-07-11 23:45:00 +02:00
Sylvestre Ledru
439de0fe2e Merge remote-tracking branch 'origin/11' into 12 2021-07-11 23:38:53 +02:00
Sylvestre Ledru
ba5bcdda81 Revert of D103865 for causing bug 51026 2021-07-09 08:51:38 +02:00
Sylvestre Ledru
0932d50cc0 Backport bug #47591 to fix a miscompilation in bpftrace (Closes: #990220) 2021-06-23 13:50:37 +02:00
Sylvestre Ledru
55b4f0b8ed Revert "Revert D94333.diff as it breaks the ci https://reviews.llvm.org/D94333#2829043" 2021-06-23 09:48:13 +02:00
Sylvestre Ledru
4aedcbd226 Fix the path to analyze-{cc,c++} for scan-build-py with --intercept-first (scan-build-py-fix-analyze-path.diff) 2021-06-22 23:24:09 +02:00
Sylvestre Ledru
7881e45616 Fix the path to analyze-{cc,c++} for scan-build-py with --intercept-first (scan-build-py-fix-analyze-path.diff) 2021-06-22 23:09:41 +02:00
Sylvestre Ledru
791bd861ef Fix the path to analyze-{cc,c++} for scan-build-py with --intercept-first (scan-build-py-fix-analyze-path.diff) 2021-06-22 22:59:50 +02:00
Sylvestre Ledru
08b8cce4d7 remove install-scan-build-py.diff applied upstream 2021-06-21 23:14:58 +02:00
Sylvestre Ledru
5493200b07 Revert D94333.diff as it breaks the ci https://reviews.llvm.org/D94333#2829043 2021-06-19 21:58:17 +02:00
Sylvestre Ledru
40bec5b106 backport D101773 to fix an llvm ir issue on mipsel in mips/mips-D101773-reloc.patch (Closes: #988965) 2021-05-29 09:39:29 +02:00
Sylvestre Ledru
a003fd4f4a rename patches 2021-05-28 23:03:43 +02:00
Sylvestre Ledru
a8eb6c475f move the mips files 2021-05-28 23:00:37 +02:00
John Paul Adrian Glaubitz
5ca1656281 Add upstream patch D98575 to fix 32-bit compiler-rt build on sparc64 2021-05-27 11:53:59 +02:00
John Paul Adrian Glaubitz
42d447d273 Add upstream patch D98574 to fix clang macro definitions on sparc64 2021-05-27 11:52:55 +02:00
Sylvestre Ledru
7b302b694d disable the patch for the branch (12.0.1). Should be added for the 12 release 2021-05-04 10:11:12 +02:00
John Paul Adrian Glaubitz
6b95f9ce26 Drop m68k patches D98537 and D98540 again 2021-04-12 17:53:08 +02:00