Sylvestre Ledru
b616a7f16b
bis: Fix the cmake file with the mlir introducing
2022-01-08 23:12:54 +01:00
Sylvestre Ledru
68e5f7c01b
Fix the cmake file with the mlir introducing
2022-01-06 14:31:32 +01:00
Sylvestre Ledru
3e5c1ff973
Fix the cmake with the mlir introducing
2022-01-05 13:39:49 +01:00
Sylvestre Ledru
8426589e95
run check mlir
2021-12-30 17:23:09 +01:00
Sylvestre Ledru
faf09cb980
Build & ship mlir too
2021-12-30 17:23:09 +01:00
Sylvestre Ledru
a2cd6eeca7
Install LLVMgold in usr/lib/bfd-plugins to help various tools to understand the format ( Closes : #919020 )
2021-12-24 18:24:41 +01:00
Sylvestre Ledru
e5705b8038
Remove AVR from LLVM_EXPERIMENTAL_TARGETS_TO_BUILD. stable since 11 https://releases.llvm.org/11.0.0/docs/ReleaseNotes.html#changes-to-the-avr-target
2021-12-21 10:23:00 +01:00
Sylvestre Ledru
92e91f3f8e
Add manpages for git-clang-format & run-clang-tidy
2021-11-30 22:56:09 +01:00
Sylvestre Ledru
321c46616a
Add a manpage for git-clang-format
2021-11-30 22:52:57 +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
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
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
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
d8b04d188f
Remove omp-device-info from LLVMExports.cmake ( Closes : #996551 )
2021-10-15 10:45:39 +02: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
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