Commit Graph

894 Commits

Author SHA1 Message Date
Sylvestre Ledru
4a38357fcc only enable z3 when version > 4.7.1 2019-10-18 22:52:48 +02:00
Sylvestre Ledru
9d276d759a Build using -DCLANG_LINK_CLANG_DYLIB=ON to force the usage of dynamic library instead of static library when building clang tools. Decreases the total size from 510M to 278M (amd64) 2019-10-18 21:06:04 +02:00
Sylvestre Ledru
be48bcd9ba Merge remote-tracking branch 'origin/9' into snapshot 2019-10-18 18:14:39 +02:00
Sylvestre Ledru
04d94b556a Enable Z3 solver (llvm & clang) to improve the quality of the static analysis results 2019-10-15 10:08:38 +02:00
Sylvestre Ledru
78a1142965 Added a check in debian/rules to prevent that from happening again 2019-10-12 11:24:43 +02:00
Sylvestre Ledru
8bcfb779b9 be more explicit when we are skipping tests 2019-10-12 10:52:58 +02:00
Sylvestre Ledru
4bef74c9ba Merge remote-tracking branch 'origin/9' into snapshot 2019-10-07 09:48:35 +02:00
Sylvestre Ledru
b12e67d29a explain why I am forcing gcc 8 2019-10-07 09:28:31 +02:00
Sylvestre Ledru
1822114116 Merge remote-tracking branch 'origin/9' into snapshot 2019-10-05 21:09:33 +02:00
Gianfranco Costamagna
4723e4187b Revert "Also remove lit-cpuid from cmake exports, in case it comes back in the future"
This reverts commit 9d6b7c5a64.
2019-10-05 10:16:46 +02:00
Gianfranco Costamagna
9d6b7c5a64 Also remove lit-cpuid from cmake exports, in case it comes back in the future 2019-10-05 10:11:54 +02:00
Gianfranco Costamagna
4baa800ed0 Enable lldb on s390x too, it builds fine now 2019-10-05 10:02:13 +02:00
Sylvestre Ledru
5be22cba05 Merge remote-tracking branch 'origin/9' into snapshot 2019-09-29 19:12:10 +02:00
Sylvestre Ledru
6bbfdc3d12 site-packages renamed to dist-packages in python3-lldb-10 2019-09-26 09:18:24 +02:00
Sylvestre Ledru
1ea7b813b8 * Fix the FTBFS on all platform by adding -DCLANG_BUILD_EXAMPLES=OFF
to cmake.
  So, the following libs aren't built anymore:
     - usr/lib/llvm-9/lib/SampleAnalyzerPlugin.so
     - usr/lib/llvm-9/lib/CheckerDependencyHandlingAnalyzerPlugin.so
     - usr/lib/llvm-9/lib/CheckerOptionHandlingAnalyzerPlugin.so
2019-09-25 08:31:00 +02:00
Sylvestre Ledru
476648d957 Merge remote-tracking branch 'origin/9' into snapshot 2019-09-12 14:18:02 +02:00
Sylvestre Ledru
5fcf7987d6 sid should also get gcc 8 2019-09-08 10:20:52 +02:00
Sylvestre Ledru
13c8b78e59 Merge remote-tracking branch 'origin/9' into snapshot 2019-09-08 09:35:06 +02:00
Sylvestre Ledru
386d2533e6 Fix the declaration 2019-09-08 09:34:34 +02:00
Sylvestre Ledru
5066015bcd Merge remote-tracking branch 'origin/9' into snapshot 2019-09-07 13:14:26 +02:00
Sylvestre Ledru
a4bb047604 Force gcc before 9 (gcc 8 on Debian unstable) because it causes huge increase of the size of the .deb (because of .a and .so) and issues in the libs 2019-09-07 13:09:19 +02:00
Sylvestre Ledru
0e69053baa revert link changes 2019-09-05 10:42:43 +02:00
Sylvestre Ledru
b4dce61de2 simplify the symlink gen 2019-09-04 18:46:55 +02:00
Sylvestre Ledru
9b69c89f47 try to fix the link 2019-09-04 18:46:11 +02:00
Sylvestre Ledru
630acfdd2f fix links 2019-09-04 18:30:28 +02:00
Sylvestre Ledru
a7abde8f96 remove a dup declaration (done in the .links) 2019-09-02 10:44:35 +02:00
Sylvestre Ledru
2c3d58eabf reorder the bootstrap args 2019-09-02 10:39:18 +02:00
Sylvestre Ledru
2a58c5d841 Debian moved to gcc-9. This gcc version now refuses -flto="Thin" Move from LLVM_ENABLE_LTO="Thin" to BOOTSTRAP_LLVM_ENABLE_LTO="Thin" to mitigate the issue (the argument should be passed only at the second stage of the build process) See https://bugs.llvm.org/show_bug.cgi?id=43193 2019-09-02 10:38:55 +02:00
Sylvestre Ledru
4b4d823b40 fix some install issue 2019-09-01 10:59:53 +02:00
Sylvestre Ledru
60ab466af0 fix install path of libclang-cpp 2019-09-01 00:51:51 +02:00
Sylvestre Ledru
3e62f1586d update the build of libclang-cpp to match what we have for libclang 2019-08-31 16:10:44 +02:00
Sylvestre Ledru
65afb90991 Also add PYTHON_EXECUTABLE to the CLANG_BOOTSTRAP_PASSTHROUGH option to fix an issue on xenial 2019-08-29 09:27:19 +02:00
Aurelien Jarno
f01d96bcb8 Add support for riscv64:
* Add support for riscv64:
  - Always link with -latomic on riscv64.
  - patches/clang-riscv64-multiarch.diff: add multiarch paths for riscv64.
  - patches/clang-riscv64-rv64gc.diff: default to lp64d ABI and rv64gc ISA.
  - patches/libcxx/libcxx-riscv64-cycletimer.diff: backport riscv64
    cycletimer support from upstream.
2019-08-05 21:34:33 +02:00
Sylvestre Ledru
0c2c3c23ec * Ship clangd-9 as a new package (Closes: #932432)
* Ship clangd-8 as a new package (Closes: #932432)
* Fixed wrong shlib generation of libomp5 library
2019-08-03 11:47:29 +02:00
Sylvestre Ledru
006c0e8ff5 fix the path for the help2man generation 2019-08-03 11:33:35 +02:00
Gianfranco Costamagna
73fd7c35e4 Fix wrong shlibs libomp5 generation 2019-08-02 08:42:24 +02:00
Gianfranco Costamagna
0635ece606 Fix wrong shlibs libomp5 generation 2019-08-02 08:41:48 +02:00
Sylvestre Ledru
446e6cf9be Ship clangd-8 as a new package (Closes: #932432) 2019-07-31 22:38:49 +02:00
Sylvestre Ledru
44ac8525bd Merge remote-tracking branch 'origin/8' into 9 2019-07-29 18:22:45 +02:00
Sylvestre Ledru
a0f22507df Merge branch '8' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 8 2019-07-29 18:15:16 +02:00
Sylvestre Ledru
1037ae5f96 workaround 2019-07-29 18:15:09 +02:00
Sylvestre Ledru
48cbd5bfc9 Ship python3-lldb-8 as a new package 2019-07-29 18:13:38 +02:00
Sylvestre Ledru
682733c77f Merge remote-tracking branch 'origin/8' into 9 2019-07-18 22:32:22 +02:00
Christian Biesinger
be2b526420 Compile against Python 3 2019-07-18 14:37:37 -05:00
Sylvestre Ledru
b20757021c fix the syntax 2019-07-14 20:21:09 +02:00
Sylvestre Ledru
3401c0d745 fix package-installs-python-pycache-dir 2019-07-14 20:17:04 +02:00
Sylvestre Ledru
43e72e8a94 remove all six.py 2019-07-14 20:08:04 +02:00
Sylvestre Ledru
afc5df203e remove the old deletion of libclang_shared 2019-07-14 15:33:24 +02:00
Sylvestre Ledru
27d2c87d8e try to fix ubuntu trusty for real 2019-07-14 10:35:01 +02:00
Sylvestre Ledru
90d21e6e8b try to fix the sed for trusty 2019-07-04 18:37:28 +02:00
Sylvestre Ledru
b440722242 maybe fix the issue? 2019-07-02 18:04:26 +02:00
Sylvestre Ledru
40a1757b7a Merge remote-tracking branch 'origin/8' into snapshot 2019-07-02 14:36:35 +02:00
Sylvestre Ledru
077d81d71a try to remove the powerpc workaround for trusty 2019-07-01 17:23:48 +02:00
Sylvestre Ledru
a9d36e7fc7 add a link to the FTBFS 2019-06-28 16:24:42 +02:00
Gianfranco Costamagna
1243584e94 Do not enable Thin on armhf, it FTBFS 2019-06-28 11:12:19 +02:00
Gianfranco Costamagna
e2976a2e23 Do not enable Thin on armhf for now 2019-06-28 11:10:08 +02:00
Sylvestre Ledru
381e186e98 Merge branch '8' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 8 2019-06-08 22:19:01 +02:00
Sylvestre Ledru
ff4caed68e Add libpfm4-dev as build dep + -DLLVM_ENABLE_LIBPFM=ON as it is needed for llvm-exegesis https://bugs.llvm.org/show_bug.cgi?id=42187 2019-06-08 22:18:51 +02:00
Sylvestre Ledru
22c73d14c3 remove an old comment 2019-06-08 11:22:41 +02:00
Sylvestre Ledru
c01fde8c25 Merge remote-tracking branch 'origin/8' into snapshot 2019-06-08 11:12:34 +02:00
Sylvestre Ledru
25057e147b Only enable thinlto on archs with gold, should fix the ftbfs 2019-06-08 11:11:47 +02:00
Sylvestre Ledru
1c403b70c0 * Move the default ARM arch from arm1176jzf-s (armv6) to cortex-a7
(Closes: #930008)
* Use dh-exec to exclude lib/LLVM*.so on powerpc and
  powerpcspe from llvm-X.Y-dev.install.in
2019-06-08 09:31:42 +02:00
John Paul Adrian Glaubitz
c1e9823546 Use dh-exec to exclude lib/LLVM*.so on powerpc and powerpcspe 2019-05-25 16:45:13 +02:00
Sylvestre Ledru
9d955049f1 * Build using thinlto on non stretch, xenial and trusty
(fails with some undef symbols)
* check-polly was executed twice
2019-05-20 10:48:59 +02:00
Sylvestre Ledru
e29bc92a70 Fix the syntax to enable thinlto 2019-05-20 10:48:17 +02:00
Sylvestre Ledru
5e9b72aba2 Build using thinlto on non stretch, xenial and trusty (fails with some undef symbols) 2019-05-20 10:36:23 +02:00
Sylvestre Ledru
773d687485 Build using thinlto on non stretch, xenial and trusty (fails with some undef symbols) 2019-05-20 10:34:58 +02:00
Sylvestre Ledru
7b48c07838 comment the thinlto usage for now 2019-05-20 09:12:14 +02:00
Sylvestre Ledru
1957457e37 check-polly was executed twice 2019-05-19 21:35:39 +02:00
Sylvestre Ledru
0dbadbefaa Merge remote-tracking branch 'origin/8' into snapshot 2019-05-19 13:29:26 +02:00
Sylvestre Ledru
1bc431e71e Use ThinLTO for the build Option -DLLVM_ENABLE_LTO="Thin" added 2019-05-18 12:49:26 +02:00
Sylvestre Ledru
a6cb0b2dfd WebAssembly is now build by default, remove it from the experimental list 2019-05-18 11:03:42 +02:00
Sylvestre Ledru
9c2a3d5346 extend the rm 2019-05-18 09:12:10 +02:00
Sylvestre Ledru
43f11d15c1 fix a typo 2019-05-18 09:10:36 +02:00
Sylvestre Ledru
7463a11663 Merge branch 'snapshot' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into snapshot 2019-05-18 09:09:31 +02:00
Sylvestre Ledru
e0ea832bd7 do not install libclang_shared.so 2019-05-17 20:21:47 +02:00
Sylvestre Ledru
3c6e396b85 disable thinlto 2019-05-16 13:51:19 +02:00
Sylvestre Ledru
398e298961 disable thin lto: not ready yet 2019-05-14 22:39:27 +02:00
Sylvestre Ledru
a1ba95bddd Use thinlto for the build 2019-05-13 15:30:15 +02:00
Sylvestre Ledru
2da8f0a12a Try another way to address the mips64el issue 2019-05-13 11:36:58 +02:00
Sylvestre Ledru
05e63f66b7 remove useless quotes 2019-05-01 14:07:36 +02:00
Sylvestre Ledru
0806a02a8c Try to disable mips64el-fix.diff (struct_kernel_stat_sz) to workaround a mips issue with some new C{XX}FLAGS see https://reviews.llvm.org/D59702 2019-04-29 09:00:15 +02:00
Sylvestre Ledru
935a21d5c7 Revert "initial support of mlir"
This reverts commit 65dff285b4.
2019-04-07 23:48:17 +02:00
Sylvestre Ledru
65dff285b4 initial support of mlir 2019-04-05 18:02:36 +02:00
Sylvestre Ledru
c27a5a490e Fix the FTBFS on mips (introduced by my previous change) 2019-04-02 11:57:49 +02:00
Sylvestre Ledru
795b5b2ae3 add debug info at build time 2019-04-02 09:54:06 +02:00
Sylvestre Ledru
eac2759eef Fix the search path on mips64el (which is causing the stage2 build of mips64el to fail See https://bugs.llvm.org/show_bug.cgi?id=41204 2019-04-01 14:02:49 +02:00
Sylvestre Ledru
d6f3201859 Revert "Install usr/lib/llvm-@LLVM_VERSION@/lib/LLVM*.so conditionally"
This reverts commit fbb04fd984.
2019-02-17 09:43:36 +01:00
Sylvestre Ledru
0e0945ea21 also add LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN for libcc 2019-02-16 11:50:23 +01:00
John Paul Adrian Glaubitz
fbb04fd984 Install usr/lib/llvm-@LLVM_VERSION@/lib/LLVM*.so conditionally 2019-02-14 20:05:48 +01:00
Sylvestre Ledru
9e9265fae2 also enable for libc++ 2019-02-13 21:39:29 +01:00
Sylvestre Ledru
ce35b79037 Merge remote-tracking branch 'origin/8' into snapshot 2019-02-09 17:33:09 +01:00
Sylvestre Ledru
033ac31f17 Merge remote-tracking branch 'origin/7' into 8 2019-02-09 17:30:52 +01:00
Sylvestre Ledru
ec27706e8f rebase of the patch 2019-02-09 01:46:30 +01:00
Sylvestre Ledru
eb425e6379 Activate -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN for all gcc 2019-02-08 21:34:44 +01:00
Sylvestre Ledru
816b488b26 Enable ld gold for kfreebsd-amd64 and kfreebsd-i386 Many thanks to Svante Signell for the two updates 2019-02-07 17:17:47 +01:00
Sylvestre Ledru
6feb36eaf1 prepare version 9 2019-01-16 15:45:56 +01:00
Sylvestre Ledru
ebf41ac0bf Merge remote-tracking branch 'origin/7' into snapshot 2019-01-11 15:23:28 +01:00
Sylvestre Ledru
2630cd44ad Continue in case of error 2019-01-11 08:40:12 +01:00
Sylvestre Ledru
4d0a1e4e44 add some debug info 2019-01-10 22:54:33 +01:00