Jordan Justen
0951f69405
d/rules: Call bash to use 'command -v' to location llvm-spirv executable
...
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-26 13:33:40 -07:00
Sylvestre Ledru
34a7ac73ed
fix the version check
2022-10-26 13:33:40 -07:00
Sylvestre Ledru
265a70d7d0
Disable the build of libclc on old Ubuntu (Groovy & focal) as llvm-spir is too old on these version. See bug #52200
2022-10-26 13:29:43 -07:00
John Paul Adrian Glaubitz
e69ad9421a
Disable compiler-rt built-ins on x32
2022-06-01 07:37:38 +02:00
Gianfranco Costamagna
b6ca1c63fe
Fix cosmetic typo in rules file
2022-05-30 21:50:57 +02:00
John Paul Adrian Glaubitz
247b8fa3f1
Exclude lib{Monitoring,RemoteIndex}*Proto.a on m68k and sparc64
2022-05-17 09:57:22 +02:00
Sylvestre Ledru
fc598bed7c
Also install usr/lib/llvm-@LLVM_VERSION@/lib/libRemoteIndexProto.a usr/lib/llvm-@LLVM_VERSION@/lib/libRemoteIndexServiceProto.a usr/lib/llvm-@LLVM_VERSION@/lib/libMonitoringServiceProto.a in libclang-X.Y-dev ( Closes : #1005666 )
2022-02-13 14:08:28 +01:00
Sylvestre Ledru
fcf733ecfc
Merge remote-tracking branch 'origin/12' into 13
2022-02-13 14:06:12 +01:00
Sylvestre Ledru
5599d44854
Also install usr/lib/llvm-@LLVM_VERSION@/lib/libRemoteIndexProto.a usr/lib/llvm-@LLVM_VERSION@/lib/libRemoteIndexServiceProto.a in libclang-X.Y-dev
2022-02-13 14:05:06 +01:00
Sylvestre Ledru
0819620085
remove one of the clangd lib
2022-02-05 12:46:35 +01:00
Sylvestre Ledru
18e75ffc90
* Build clangd with GRPC support
...
Thanks to Sam McCall for the patch
* Unbreak llvm-toolchain-12 on buster.
-fuse-ld=gold wasn't passed to compiler-rt. it was using bfd.
And binutils shipping in buster has a bug preventing this to work:
https://github.com/llvm/llvm-project/issues/42339
* Rename ocaml-nox => ocaml-base (Closes : #1002608 )
* Remove Build-Conflicts: ocaml
* Rebuild to workaround the coinstallability issue (Closes : #996858 )
2022-02-05 11:11:11 +01:00
Sylvestre Ledru
b990b953f0
mlir: use the cmake option to avoid installing object files MLIR_INSTALL_AGGREGATE_OBJECTS Closes upstream #53134
2022-02-05 11:08:21 +01:00
Sylvestre Ledru
87ee3c332f
remove unused clangd lib
2022-01-29 14:47:09 +01:00
Sam McCall
227598dbc7
Build clangd remote index (grpc & protobuf dependency)
2022-01-29 10:16:10 +01:00
Sylvestre Ledru
f1e99fac32
Revert "stretch: try to set the ld_library_path"
...
This reverts commit 0322ecc9db
.
2022-01-25 00:43:11 +01:00
Sylvestre Ledru
0322ecc9db
stretch: try to set the ld_library_path
2022-01-25 00:33:13 +01:00
Sylvestre Ledru
34fe63ca7e
stretch: try to set the ld_library_path
2022-01-25 00:21:47 +01:00
Sylvestre Ledru
d408831791
remove workaround
2022-01-24 19:43:17 +01:00
Sylvestre Ledru
436ebce633
add some workaround for stretch
2022-01-23 22:52:21 +01:00
Samuel Thibault
38be44b0dc
Fix armel build
...
On armel, DEB_HOST_ARCH_CPU is the generic arm actually, so we need to
use DEB_HOST_ARCH to precisely filter archs.
Fixes 43d03058ff
2022-01-14 10:18:12 +01:00
Sylvestre Ledru
3ff1ff385d
Merge branch '13' into 'hurd-rt-no64'
...
# Conflicts:
# debian/changelog
2022-01-13 20:15:46 +00:00
Pino Toscano
b02fa8358f
Stop hardcoding -DCMAKE_SYSTEM_NAME=Linux as cmake parameter
...
as it breaks stage2 builds on non-Linux architectures.
2022-01-12 23:27:48 +01:00
Pino Toscano
653f1a56ea
debian/rules: Disable 64bit runtime build on hurd-i38
2022-01-12 23:22:46 +01:00
Sylvestre Ledru
08507c8e72
Merge branch 'fix-which-for-13' into '13'
...
Use 'command -v' instead of deprecated 'which'
See merge request pkg-llvm-team/llvm-toolchain!76
2022-01-12 09:08:00 +00:00
Samuel Thibault
43d03058ff
Explicitly link against -latomic on all ports, not only the Linux ones
2022-01-11 23:58:40 +01:00
Sylvestre Ledru
04c09a8af8
remove the typo -DLVVM_ENABLE_ZLIB=OFF as it seems that it working with the default value
2022-01-11 23:46:02 +01:00
Sylvestre Ledru
000d58d4e1
remove the typo -DLVVM_ENABLE_ZLIB=OFF as it seems that it working with the default value
2022-01-11 23:45:34 +01:00
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
Diederik de Haas
ee40c18b21
Use 'command -v' instead of deprecated 'which'
2021-11-10 22:11:03 +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