Commit Graph

4532 Commits

Author SHA1 Message Date
Erik Maciejewski
37b09ab963 set baseline arch to armv5t, remove older 3.8 workaround for armel build 2021-10-19 18:44:47 +02:00
Erik Maciejewski
2bb5eae639 reorganize flags and cmake options around stages for the toolchain build 2021-10-19 18:44:47 +02:00
Erik Maciejewski
a7ba5e95ef add COMPILER_RT_DEFAULT_TARGET_ONLY=ON to armel and armhf toolchain
build options to prevent related arches that might not be supported
on the build host from being included in the build (like armv6m
soft-float on the armhf build host)
2021-10-19 18:44:47 +02:00
Erik Maciejewski
ee4d16b438 consolidate two conditionals for libatomic that were essentially
the same, but the one removed could conflict with
BOOTSTRAP_SHARED_LINK_FLAGS elsewhere in the rules file
2021-10-19 18:44:47 +02:00
Erik Maciejewski
4cd7525330 add missing LIBUNWIND_USE_COMPILER_RT to CLANG_BOOTSTRAP_PASSTHROUGH
to link correct compiler-rt lib in stage2
2021-10-19 18:44:47 +02:00
Sylvestre Ledru
a39301619e add a workaround to handle the proper replace in 13 2021-10-18 14:32:31 +02:00
Sylvestre Ledru
66dfda543c Bring back the llvm manpages (Closes: #995684) Were generated at the wrong place 2021-10-18 11:07:30 +02: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
63f3c0d93e prepare for upload 2021-10-17 22:16:29 +02:00
Sylvestre Ledru
7057efdb4e add a test: Make sure that #993904 and #995069 don't come back' 2021-10-17 22:02:24 +02:00
Sylvestre Ledru
64822f9a9e add more stuff to remove 2021-10-17 22:01:58 +02:00
Sylvestre Ledru
509c6b85d3 Merge branch 'libclc-12-amdgcn-mesa-mesa3d' into '12'
d/rules: Add amdgcn-mesa-mesa3d to libclc build

See merge request pkg-llvm-team/llvm-toolchain!74
2021-10-17 19:04:18 +00:00
Jordan Justen
236aed51ac
d/rules: Add amdgcn-mesa-mesa3d to libclc build
Signed-off-by: Jordan Justen <jljusten@debian.org>
2021-10-17 01:23:06 -07:00
Jordan Justen
0ae8e6c3b2
d/changelog: Start 1:12.0.1-11 changelog
Signed-off-by: Jordan Justen <jljusten@debian.org>
2021-10-17 01:20:31 -07:00
Sylvestre Ledru
d8b04d188f Remove omp-device-info from LLVMExports.cmake (Closes: #996551) 2021-10-15 10:45:39 +02:00
Sylvestre Ledru
582a02e2f1 prepare upload 2021-10-14 21:29:10 +02:00
Sylvestre Ledru
d24d6ab126 Merge branch '12-llvm-runtimes-build' into '12'
LLVM llvm/clang 12 toolchain with runtimes build

See merge request pkg-llvm-team/llvm-toolchain!73
2021-10-14 19:23:01 +00:00
Sylvestre Ledru
0a941a5df2 Restrict the dependency on libunwind-13-dev from Package: libc++-13-dev on amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64 (Closes: #996462) 2021-10-14 12:33:54 +02:00
Sylvestre Ledru
bb4c63e11a use apt versioning 2021-10-13 22:56:22 +02:00
Sylvestre Ledru
4c2bb3ab8a remove patch (merged upstream) 2021-10-13 18:18:43 +02:00
Sylvestre Ledru
9a20fa3df4 add upstream bug number 2021-10-13 16:33:11 +02:00
Sylvestre Ledru
7ef68849e2 remove it from llvm-X 2021-10-13 15:47:41 +02:00
Sylvestre Ledru
8c12d273c2 Move llvm-omp-device-info-X.Y from llvm-X to libompX-dev 2021-10-13 13:29:42 +02:00
Sylvestre Ledru
60b3c83d93 Instead of using llvm-* to install binaries in llvm-X.Y list all the binaries one by one. It will prevent "llvm-omp-device-info" to be installed in llvm-X.Y which caused an explicit dependency on libomp which caused llvm-X.Y to be NOT coinstallable anymore 2021-10-13 13:29:27 +02:00
Sylvestre Ledru
700729ed40 fix typos 2021-10-13 13:26:46 +02:00
Erik Maciejewski
d9e74d1c5c update changelog 2021-10-11 18:49:34 -07:00
Erik Maciejewski
aaf419a998 reconfigure build options further to produce a toolchain built with gnu
runtimes as well as configured to use gnu runtimes by default

this also reverts a small change in qualify-clang.sh specifying libc++
for one test and required by the previous toolchain configuration
2021-10-11 18:49:34 -07:00
Erik Maciejewski
3ee7840e5b reconfigure toolchain to use gnu runtimes by default
this requires one small modification to the qualify-clang.sh script
for the last libPolly test since the toolchain itself is using libc++
2021-10-11 18:49:34 -07:00
Erik Maciejewski
9acb6c59ef Revert "fix up compiler flags now that clang defaults to llvm runtimes in" 2021-10-11 18:49:28 -07: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
c7fefea365 update changelog 2021-10-06 13:32:36 -07:00
Erik Maciejewski
42dc2f2752 add some quilt patch comments 2021-10-06 13:09:54 -07:00
Erik Maciejewski
ee7a2defc1 comment out esan test in qualify-clang.sh as it seems esan was
removed from llvm/clang:

885b790f89
2021-10-06 12:01:39 -07:00
Erik Maciejewski
adb37dff06 fix up compiler flags now that clang defaults to llvm runtimes in
the quialify-clang.sh script
2021-10-06 10:48:06 -07:00
Erik Maciejewski
cb07c38792 minor rules cleanup
add vars for stage1 and stage2 bin dirs

remove duplicate cmake bin detection in the libclc build

remove unused LIBCXX_CMAKE_EXTRA var
2021-10-06 10:48:06 -07:00
Erik Maciejewski
f5573c878a move LLVM_BINUTILS_INCDIR to STAGE1_CMAKE_EXTRA and
CLANG_BOOTSTRAP_PASSTHROUGH so that LLVMgold.so is built
2021-10-06 10:48:06 -07:00
Erik Maciejewski
e77266aac8 fix build config option causing assertions to be enabled by default 2021-10-06 10:48:06 -07:00
Erik Maciejewski
a7dd11a3c3 add stage2 lib dir as explicit lib path in libclc linker flags 2021-10-06 10:48:06 -07:00
Erik Maciejewski
145d0de851 remove patch for lld force linking libatomic 2021-10-06 10:48:06 -07:00
Erik Maciejewski
fe702823c8 use PACKAGE_VENDOR instead of CLANG_VENDOR 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
7377580543 remove unecessary cleanup to match upstream
(I probably selected wrong change in rebase conflict)
2021-10-06 10:48:06 -07:00
Erik Maciejewski
23f635bcd5 remove legacy make to match upstream
(I probably selected wrong change in rebase conflict)
2021-10-06 10:48:06 -07:00
Erik Maciejewski
af642aaee0 Revert "revert erroneous package dir name change"
This reverts commit 519ee630cdad09ab61813a5a9f57d30f6cac66b9.
2021-10-06 10:48:06 -07:00
Erik Maciejewski
181db69a11 remove CMAKE_VERBOSE_MAKEFILE and use cmake to invoke the two stage
toolchain build and set VERBOSE which enables verbose build output for
all stages and runtime builds
2021-10-06 10:48:06 -07:00
Erik Maciejewski
e91f88e9a1 improve libunwind option handling to try and not break builds on platforms
that don't support it
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