Commit Graph

856 Commits

Author SHA1 Message Date
Gianfranco Costamagna
9badd59546 Revert site-packages/dist-packages hacking mv, this is done upstream now 2020-01-23 14:30:09 +01:00
Gianfranco Costamagna
29d4a3685b Fix link for python3-lldb package 2020-01-23 09:18:49 +01:00
Gianfranco Costamagna
a4681d5a02 Move python2.7 to python3 for clang binaries, Reupload to sid (Closes: #948409) 2020-01-08 12:17:34 +01:00
John Paul Adrian Glaubitz
df8b6900fe Build polly docs and manpages only when polly is enabled 2019-12-26 22:48:24 +01:00
Sylvestre Ledru
c05f6c9129 Remove python-lldb-9 2019-12-25 19:16:23 +01:00
Sylvestre Ledru
5eba40cb2a Revert "Bump debhelper from old 9 to 12."
This reverts commit 5dc1a03a77.
2019-12-09 17:30:17 +01:00
Sylvestre Ledru
5dc1a03a77 Bump debhelper from old 9 to 12.
+ debian/rules: Move --fail-missing argument to dh_missing.

Fixes lintian: package-uses-old-debhelper-compat-version
See https://lintian.debian.org/tags/package-uses-old-debhelper-compat-version.html for more details.
2019-12-08 21:03:12 +01:00
Sylvestre Ledru
583a094319 Rely on pre-initialized dpkg-architecture variables.
Fixes lintian: debian-rules-sets-dpkg-architecture-variable
See https://lintian.debian.org/tags/debian-rules-sets-dpkg-architecture-variable.html for more details.
2019-12-08 21:02:53 +01:00
Sylvestre Ledru
e7d54dd00b * Fix some paths, upstream moved from site-packages
to dist-packages for python packages
2019-12-03 14:04:52 +01:00
Gianfranco Costamagna
8a657bbcf0 it turned out that the z3 disable flag was not effective because not passed through the stage2 clang build process 2019-11-29 14:35:28 +01:00
Gianfranco Costamagna
100c94ad93 We are already using -g1 everywhere, don't make the rules file look difficult to understand 2019-11-26 09:48:13 +01:00
Gianfranco Costamagna
3e6b8215c4 Add patch to take care of z3 enable or disable in rules file 2019-11-26 09:47:49 +01:00
Sylvestre Ledru
10b88263a4 bring back the rm 2019-11-12 16:53:51 +01:00
Gianfranco Costamagna
9c40e6c15b Add also Ubuntu focal to the gcc-8 arch list 2019-11-02 09:42:08 +01:00
Sylvestre Ledru
ada6f5a766 Merge branch '9' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 9 2019-10-31 00:27:11 +01:00
Sylvestre Ledru
ff4ed1bf44 only enable z3 when version > 4.7.1 2019-10-30 23:50:23 +01:00
Sylvestre Ledru
dbba493888 Use stage2 files to build the doc. For some reasons, clang-tools-extra html generation stopped working 2019-10-30 22:28:06 +01:00
Sylvestre Ledru
81857713ca Revert the change -DBOOTSTRAP_LLVM_ENABLE_LTO to use -DLLVM_ENABLE_LTO to see if it fixes 943623 and/or 942864 Disable disable-fuzzer-compiler-rt.diff to evaluate the whole thing 2019-10-29 20:12:22 +01:00
Sylvestre Ledru
4e2033bdca fix the projects declaration 2019-10-21 15:59:26 +02:00
Sylvestre Ledru
f0d6771d04 fix a typo 2019-10-20 21:40:16 +02:00
Sylvestre Ledru
d2c4dc9417 polly, openmp & lldb aren't enabled for every platform So, add to PROJECTS only when enabled 2019-10-20 17:28:06 +02:00
Sylvestre Ledru
2aa08a74bd fix more paths 2019-10-19 15:29:58 +02:00
Sylvestre Ledru
51b2b33958 also build openmp 2019-10-19 14:50:01 +02:00
Sylvestre Ledru
e97c527468 fix the path to llvm docs 2019-10-19 14:50:01 +02:00
Sylvestre Ledru
f6f735d206 * Use -DBOOTSTRAP_LLVM_ENABLE_LTO instead of
-DLLVM_ENABLE_LTO (not sure what it wasn't done)
2019-10-19 11:39:00 +02:00
Sylvestre Ledru
3c0758401c move to projects list and go away symlinks, yeah 2019-10-19 10:24:46 +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
b12e67d29a explain why I am forcing gcc 8 2019-10-07 09:28:31 +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
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
5fcf7987d6 sid should also get gcc 8 2019-09-08 10:20:52 +02:00
Sylvestre Ledru
386d2533e6 Fix the declaration 2019-09-08 09:34:34 +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
9b69c89f47 try to fix the link 2019-09-04 18:46:11 +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