Sylvestre Ledru
26db809ae5
prepare for upload
2021-11-13 14:55:52 +01:00
Sylvestre Ledru
765d78d137
Fix whitespaces
2021-11-13 00:17:09 +01:00
Sylvestre Ledru
2dee6a8174
If lua is available on the system at built time, a lua lldb binding was created. It was leading to some build failures depending on the package installed on the build system. Force the deactivation of the lua build when lldb is built.
2021-11-13 00:15:53 +01:00
Sylvestre Ledru
fc7eed0001
Merge remote-tracking branch 'origin/13' into snapshot.merge.temp
2021-11-11 22:55:42 +01:00
Sylvestre Ledru
66767e15bb
Add back -DLLVM_VERSION_SUFFIX=. Useless for 13 but necessary for snapshot Otherwise, it adds "git" to the libs
2021-11-11 22:48:56 +01:00
Sylvestre Ledru
88d3b7d9fd
fix a typo
2021-11-11 22:48:55 +01:00
Sylvestre Ledru
6fb9dd580c
fix typos
2021-11-11 13:26:18 +01:00
Sylvestre Ledru
a13dfd15b1
fix typos
2021-11-11 13:20:55 +01:00
Sylvestre Ledru
2b65a438b1
debuginfo-tests => cross-project-tests
2021-11-11 13:14:07 +01:00
Sylvestre Ledru
4772d00abb
Merge remote-tracking branch 'origin/13' into snapshot
2021-11-10 21:17:21 +01:00
Erik Maciejewski
c39e93a38e
add option to disable compiler-rt scudo standalone
...
patch compiler-rt build to add cmake option for disabling scudo
standalone
add COMPILER_RT_BUILD_SCUDO_STANDALONE=OFF to armel build since the
baseline armv5t arch profile is not supported
2021-11-06 01:25:29 -07:00
Erik Maciejewski
ffdb0eb41c
Merge remote-tracking branch 'origin/12' into 13
2021-11-03 16:13:49 -07:00
Erik Maciejewski
27687a106d
re-disable fixfilepath
...
disable fixfilepath in dpkg-buildflags in favor of using the more
llvm aware implementation provided by the llvm-project by setting
LLVM_USE_RELATIVE_PATHS_IN_FILES=ON in both stages of the toolchain
build
2021-10-26 16:04:22 -07:00
Erik Maciejewski
8fdac930ac
cmake options cleanup
...
remove some redundant cmake options (options with the same value as
their default) from, and move PYTHON_EXECUTABLE cmake option to, the
cmake configure command
2021-10-26 16:04:22 -07:00
Erik Maciejewski
5088c76222
dpkg-buildflags cleanup
...
use make variables populated by /usr/share/dpkg/buildflags.mk and
remove _EXTRA suffix from STAGE_1_ and STAGE_2_ flag vars
2021-10-26 16:03:31 -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
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
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
018298c169
remove legacy var for use when libcxx was a standalone build
2021-10-20 22:26:55 -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
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
247a30585e
Remove omp-device-info from LLVMExports.cmake ( Closes : #996551 ) For real this time
2021-10-20 07:36:43 +02:00
Erik Maciejewski
bbd39dd55e
re-disable building builtins on armel as they still fail
2021-10-19 13:41:57 -07: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
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
Sylvestre Ledru
66dfda543c
Bring back the llvm manpages ( Closes : #995684 ) Were generated at the wrong place
2021-10-18 11:07:30 +02: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
Sylvestre Ledru
00fcfc2bb5
Revert "Fix the libc++/libc++abi symlink issues after their moves in the triple directory"
...
This reverts commit d203ac3649
.
2021-10-15 11:37:55 +02:00
Sylvestre Ledru
d8b04d188f
Remove omp-device-info from LLVMExports.cmake ( Closes : #996551 )
2021-10-15 10:45:39 +02:00
Sylvestre Ledru
fd14caa215
remove the triple as it isn't the right approach for now (this can be revert)
2021-10-14 23:38:20 +02:00