Commit Graph

4566 Commits

Author SHA1 Message Date
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
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
4223433040 revert erroneous package dir name change 2021-10-06 10:48:06 -07:00
Erik Maciejewski
124f977442 remove extra cd when copying libomp SOs 2021-10-06 10:48:06 -07:00
Erik Maciejewski
6ce54c5ad9 add libelf-dev to build-depends for source pkg as a dependency for
openmp libomptarget runtime build
2021-10-06 10:48:06 -07:00
Erik Maciejewski
057aaddd58 uncomment cleanup for clang/include/clang/Debian 2021-10-06 10:48:06 -07:00
Erik Maciejewski
69de88d53e add back LLVM_BINUTILS_INCDIR for gold LTO plugin 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
e2ff301911 change cmake generator and all build invocations from make to ninja 2021-10-06 10:48:06 -07:00
Erik Maciejewski
20d2a90c2a rules updates 2021-10-06 10:48:06 -07:00
Erik Maciejewski
e3a53b15e8 quilt patches 2021-10-06 10:48:06 -07:00
Sylvestre Ledru
103cb1357c libc++-13-dev should depends on libunwind-13-dev (Closes: #995810) 2021-10-06 12:52:18 +02:00
Sylvestre Ledru
8380a94581 Adjust the testsuite after various changes (rpass, libclang, polly lib, etc) 2021-10-04 09:20:07 +02:00
Sylvestre Ledru
b2438aba01 improve the version set 2021-10-04 09:06:05 +02:00
Sylvestre Ledru
257263a114 -lPollyPPCG doesn't exist 2021-10-04 09:05:52 +02:00
Sylvestre Ledru
a6274d93aa test: adjust the type when using libclang 2021-10-04 09:01:41 +02:00