Commit Graph

4928 Commits

Author SHA1 Message Date
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
68d7c04abc pass CMAKE_FIND_DEBUG_MODE to stage2 2021-10-11 23:42:22 +02:00
Sylvestre Ledru
987276a5ef Add '-DCMAKE_FIND_DEBUG_MODE=true' to help wit debugging 2021-10-11 23:32:20 +02:00
Sylvestre Ledru
dd97ff403b Force the i386 triple -DLLVM_HOST_TRIPLE=i386-linux-gnu Sometimes, on i386, the library detection is failing (often on z3 or ffi) 'Could NOT find Z3:' 2021-10-11 23:32:20 +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
Sylvestre Ledru
69e414d677 rebase of the patch 2021-10-10 10:14:46 +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
f97abbaf4e gcc 8 works too 2021-10-04 12:44:58 +02:00
Sylvestre Ledru
b092faff78 Disable LIBCXX_USE_COMPILER_RT on s390x, armel and x32 as it fails. See bug 52022 2021-10-04 11:52:15 +02:00
Sylvestre Ledru
a112c44b6d Too old version of gcc. Force gcc 11
Should be triggered only on bionic
https://reviews.llvm.org/D110338
Should be removed when we moved to RUNTIMES as we
will use clang to build libc++ even stage1 (only from stage2 now)
2021-10-04 11:16:05 +02:00