Commit Graph

4232 Commits

Author SHA1 Message Date
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
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
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
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
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
145e757826 Remove old override 'outdated-autotools-helper-file' 2021-10-03 21:17:03 +02:00
Sylvestre Ledru
ff8ef908ef fix changelog 2021-10-03 21:15:15 +02:00
Sylvestre Ledru
b8220e4472 Add source-is-missing llvm/test/* / lldb/test/* / lld/test/* to the source override 2021-10-03 21:13:51 +02:00
Sylvestre Ledru
6da834fd4a If parallel is not set in DEB_BUILD_OPTIONS, use nproc 2021-10-02 10:50:37 +02:00
John Paul Adrian Glaubitz
2b9b171e95 Disable libunwind on sparc, sparc64 and x32 2021-09-29 18:49:32 +02:00
Sylvestre Ledru
15c7d95715 remove make legacy 2021-09-27 17:09:53 +02:00