Erik Maciejewski
5b59bd3630
update changelog
2021-10-24 02:38:55 -07:00
Erik Maciejewski
14aeabd6c8
set LIBCXX_USE_COMPILER_RT to OFF to disable builtins when libunwind
...
is not enabled since the unwind implementation with gnu builtins will
then be required
2021-10-24 00:20:40 -07:00
Erik Maciejewski
36bdfcce52
add arch specific config for powerpc to force correct arch profile
...
for builtins
2021-10-23 14:47:49 -07:00
Erik Maciejewski
b7363248b1
set arm toolchain arch profiles explicitly to debian baselines as
...
the target host triples alone are ambiguous and compiler defaults
and debian baselines may not align
2021-10-23 14:16:39 -07:00
Erik Maciejewski
6558504cac
disable builtins for unsupported arch s390x
2021-10-23 14:16:39 -07:00
Sylvestre Ledru
cd137e1365
remove old references to 'mips'
2021-10-23 13:12:59 +02:00
Sylvestre Ledru
c9086c29ed
disable lldb on mips*: also update control
2021-10-23 13:11:32 +02:00
Sylvestre Ledru
fa65a721e9
fix changelog
2021-10-23 13:09:45 +02:00
Sylvestre Ledru
1e06e0a7e7
disable lldb on mips*: also update control
2021-10-23 13:09:28 +02:00
Sylvestre Ledru
659305bc08
Disable lldb on mipsel and mips64el as it isn't supported See https://reviews.llvm.org/D102872 ( Closes : #997011 )
2021-10-23 13:08:46 +02:00
Sylvestre Ledru
4baa08eb6f
Disable lldb on mipsel and mips64el as it isn't supported See https://reviews.llvm.org/D102872 ( Closes : #997011 )
2021-10-23 10:35:38 +02:00
Erik Maciejewski
35a8b4a6fc
modify stage dir var names to use new prefix scheme in debian/rules
2021-10-22 04:46:21 -07:00
Erik Maciejewski
5f699155e2
update changelog
2021-10-22 03:13:53 -07:00
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
Sylvestre Ledru
daf38c1634
Adjust the sphinx build as the makefile have been removed
2021-10-22 11:07:40 +02: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
Sylvestre Ledru
424a69e830
* Update to compat 11.
...
oldstable has 12
bionic has 11
2021-10-20 23:12:13 +02:00
Sylvestre Ledru
bd013e98bb
Update watch file format version to 4.
...
Changes-By: lintian-brush
Fixes: lintian: older-debian-watch-file-standard
See-also: https://lintian.debian.org/tags/older-debian-watch-file-standard.html
2021-10-20 23:08:58 +02:00
Sylvestre Ledru
59574f7b09
Trim trailing whitespace.
...
Changes-By: lintian-brush
Fixes: lintian: trailing-whitespace
See-also: https://lintian.debian.org/tags/trailing-whitespace.html
2021-10-20 23:08:58 +02:00
Sylvestre Ledru
f41f6ed1f2
Fix the link issue (hopefully on all archs) ( Closes : #995827 ) customs LDFLAGS were not passed to the stage2
2021-10-20 23:02:02 +02:00
Sylvestre Ledru
735c3c3745
Rename unbreak-atomic-arm.diff => unbreak-atomic-mips.diff
2021-10-20 07:50:47 +02:00
Sylvestre Ledru
247a30585e
Remove omp-device-info from LLVMExports.cmake ( Closes : #996551 ) For real this time
2021-10-20 07:36:43 +02: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
7e04f98a02
fix the version check
2021-10-18 17:53:32 +02:00
Sylvestre Ledru
1f06639f62
Disable the build of libclc on old Ubuntu (Groovy & focal) as llvm-spir is too old on these version. See bug #52200
2021-10-18 16:15:10 +02:00
Sylvestre Ledru
a39301619e
add a workaround to handle the proper replace in 13
2021-10-18 14:32:31 +02:00