Erik Maciejewski
9a1ae924d4
add explicit s390x build options to debian/rules, set
...
LLVM_HOST_TRIPLE=s390x-linux-gnu and COMPILER_RT_DEFAULT_TARGET_ONLY=ON
so that builtins are only built for the explicit host arch
2021-10-22 03:10:40 -07:00
Erik Maciejewski
2e88154bcc
better naming scheme for stage variables in debian/rules
...
establish a consistent STAGE_[stage]_ prefix naming scheme for stage
variables and replace STAGE1_AND_STAGE2_ prefix with STAGE_ALL_ prefix for
better future-proofing
2021-10-22 02:31:00 -07:00
Erik Maciejewski
feeebfb2e9
re-enable fixfilepath for use with dpkg-buildflags in debian/rules as
...
it has been supported since clang-10
2021-10-22 02:30:54 -07:00
Erik Maciejewski
dd07b033af
flag consinstency pass for build stages and sub-builds
...
utilize dpkg-buildflags for defaults where appropriate and make sure all
flags intended for a stage are also applied to the stage's builtins and
runtimes builds
2021-10-21 22:26:13 -07:00
Erik Maciejewski
ba7dad1665
update changelog
2021-10-20 22:26:55 -07:00
Erik Maciejewski
018298c169
remove legacy var for use when libcxx was a standalone build
2021-10-20 22:26:55 -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
Erik Maciejewski
21741170df
update rules to incorporate relevant arch specific configs from snapshot
2021-10-20 21:30:07 -07:00
Erik Maciejewski
b0199c560b
update latest changelog entry with closes
2021-10-19 14:07:40 -07:00
Erik Maciejewski
1e66de180a
update changelog
2021-10-19 13:42:03 -07: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
Erik Maciejewski
bbd39dd55e
re-disable building builtins on armel as they still fail
2021-10-19 13:41:57 -07:00
Sylvestre Ledru
a122693ff9
dump the log when an error is found
2021-10-19 18:45:22 +02:00
Sylvestre Ledru
0203a45f38
improve the check
2021-10-19 18:45:22 +02:00
Sylvestre Ledru
e5d18af7f9
add more docs
2021-10-19 18:45:22 +02:00
Sylvestre Ledru
4b26a33863
Bring back the llvm manpages ( Closes : #995684 ) Were generated at the wrong place
2021-10-19 18:45:22 +02:00
Sylvestre Ledru
49601274e7
fix merge
2021-10-19 18:45:22 +02:00
Sylvestre Ledru
3a471b5b33
prepare for upload
2021-10-19 18:45:22 +02:00
Jordan Justen
ac63cfad6b
d/rules: Add amdgcn-mesa-mesa3d to libclc build
...
Signed-off-by: Jordan Justen <jljusten@debian.org>
2021-10-19 18:45:22 +02:00
Sylvestre Ledru
4bcf61cc0b
update changelog
2021-10-19 18:45:17 +02:00
Erik Maciejewski
4f0c8cb346
update to debian host triple for the armhf build
2021-10-19 18:44:47 +02:00
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
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