Commit Graph

356 Commits

Author SHA1 Message Date
Sylvestre Ledru
7aacd1c124 check if llvm-debuginfod-find has been built with curl 2022-05-10 09:09:01 +02:00
Sylvestre Ledru
0ad684fcfc Fix an autopkgtest on arm (Closes:# 1010716) Thanks to Pino Toscano for the patch 2022-05-09 20:41:22 +02:00
Sylvestre Ledru
a51753db83 When clang++- -P -E foo.cc fails, show the output 2022-04-02 14:17:32 +02:00
Sylvestre Ledru
a4acb94c9e also propose to install mlir 2022-01-24 16:24:04 +01:00
Sylvestre Ledru
0108c4c2a0 update the script to add the mlir install guidances 2022-01-03 15:43:40 +01:00
Sylvestre Ledru
a6a1aae2e8 Install LLVMgold in usr/lib/bfd-plugins to help various tools to understand the format (Closes: #919020) 2021-12-30 20:33:47 +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
4772d00abb Merge remote-tracking branch 'origin/13' into snapshot 2021-11-10 21:17:21 +01:00
Erik Maciejewski
ffdb0eb41c Merge remote-tracking branch 'origin/12' into 13 2021-11-03 16:13:49 -07:00
Sylvestre Ledru
a122693ff9 dump the log when an error is found 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
Sylvestre Ledru
66dfda543c Bring back the llvm manpages (Closes: #995684) Were generated at the wrong place 2021-10-18 11:07:30 +02:00
Sylvestre Ledru
7057efdb4e add a test: Make sure that #993904 and #995069 don't come back' 2021-10-17 22:02:24 +02:00
Sylvestre Ledru
64822f9a9e add more stuff to remove 2021-10-17 22:01:58 +02:00
Sylvestre Ledru
c70cecaa33 fix test 2021-10-16 09:49:24 +02:00
Sylvestre Ledru
92adf8d188 * Remove the triple patch. it is causing the library search path to fail.
Add a test in debian/qualify-clang.sh to verify we don't regress
2021-10-14 21:18:51 +02:00
Sylvestre Ledru
0dcf8bb98f relax the rpass test 2021-10-14 21:05:59 +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
9acb6c59ef Revert "fix up compiler flags now that clang defaults to llvm runtimes in" 2021-10-11 18:49:28 -07:00
Erik Maciejewski
ee7a2defc1 comment out esan test in qualify-clang.sh as it seems esan was
removed from llvm/clang:

885b790f89
2021-10-06 12:01:39 -07:00
Erik Maciejewski
adb37dff06 fix up compiler flags now that clang defaults to llvm runtimes in
the quialify-clang.sh script
2021-10-06 10:48:06 -07:00
Sylvestre Ledru
b854e644c5 Merge remote-tracking branch 'origin/13' into snapshot 2021-10-04 09:24:25 +02:00
Sylvestre Ledru
8380a94581 Adjust the testsuite after various changes (rpass, libclang, polly lib, etc) 2021-10-04 09:20:07 +02:00
Sylvestre Ledru
b2438aba01 improve the version set 2021-10-04 09:06:05 +02:00
Sylvestre Ledru
257263a114 -lPollyPPCG doesn't exist 2021-10-04 09:05:52 +02:00
Sylvestre Ledru
a6274d93aa test: adjust the type when using libclang 2021-10-04 09:01:41 +02:00
Sylvestre Ledru
14a06d109e Fix the libclang detect in cmake (Closes: #994827) 2021-10-03 22:44:37 +02:00
Gianfranco Costamagna
6dac9509d2 Merge branch '13' into snapshot 2021-09-27 16:38:31 +02:00
Gianfranco Costamagna
3ef6475b07 Merge branch '12' into 13 2021-09-27 16:36:10 +02:00
Gianfranco Costamagna
1faeaa5c92 Merge branch '11' into 12 2021-09-27 16:35:06 +02:00
Gianfranco Costamagna
d4cc4b9682 Bump minimum cmake version in qualify-clang.sh test too.
Fix minimum cmake version now set to 11
2021-09-27 14:25:36 +02:00
Sylvestre Ledru
05765c1ccc adjust the path as it moves to a different directory 2021-09-27 09:02:24 +02:00
Sylvestre Ledru
69d9c5cde2 adjust tests and install header 2021-09-25 18:16:52 +02:00
Sylvestre Ledru
eda5c4b589 check if clang-tidy is installed 2021-09-01 12:45:28 +02:00
Sylvestre Ledru
5679c920dd check if clang-tidy is installed 2021-08-29 15:59:35 +02:00
Sylvestre Ledru
4e968591a0 add tests (failing for now) 2021-08-29 15:12:38 +02:00
Sylvestre Ledru
993f1c537d adjust the output 2021-08-27 19:13:15 +02:00
Sylvestre Ledru
34882aee5f add back the tests removed by the merge 2021-08-27 19:13:06 +02:00
Gianfranco Costamagna
6f858259b4 Merge branch '12' into 13 2021-08-27 11:41:13 +02:00
Sylvestre Ledru
a147342020 add a test help identify regression like 51642 2021-08-27 10:52:47 +02:00
Sylvestre Ledru
f141f0b16c Remove an old test - was already added back the line above 2021-08-27 10:52:47 +02:00
Sylvestre Ledru
43a60217f8 improve uninstall 2021-08-21 15:51:43 +02:00
Sylvestre Ledru
c99fd9dcf3 fix script 2021-08-21 12:52:10 +02:00
Sylvestre Ledru
1b732c2af9 Merge remote-tracking branch 'origin/12' into 13 2021-08-17 13:45:49 +02:00
Sylvestre Ledru
8729fbb999 also remove test.cpp 2021-08-17 12:28:16 +02:00
Sylvestre Ledru
f4597c6a4d improve the testsuite 2021-08-17 12:14:06 +02:00
Sylvestre Ledru
6498d613d1 add a new test to import the libclang 2021-08-16 21:56:55 +02:00
Sylvestre Ledru
7682e85772 fix conflict in a script 2021-08-16 21:56:33 +02:00
Sylvestre Ledru
5d8ec6a318 Merge remote-tracking branch 'origin/12' into 13 2021-08-09 13:08:36 +02:00
Sylvestre Ledru
c0181fe78d Fix a test -stdlib=libc++ -unwindlib=libunwind -rtlib=compiler-rt -static-libstdc++ -static-libgcc test.cpp -lpthread -ldl -o test 2021-08-09 13:08:04 +02:00
Sylvestre Ledru
e49370b38a Merge remote-tracking branch 'origin/12' into 13 2021-08-01 18:09:24 +02:00
Sylvestre Ledru
62bcced93d fix the version when using the ugly testing script 2021-08-01 18:09:08 +02:00
Sylvestre Ledru
f20d336773 fix changelog 2021-07-31 21:06:27 +02:00
Sylvestre Ledru
df0335094d * Generate libunwind-13 & libunwind-13-dev packages
* Add the following option to the libc++ build:
  -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON
  -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON
  -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF
   to address upstream bug 46321
* Make libc++abi use libunwind
* d/rules: Adjust cmake defines to fix libclc.pc paths
* Add the following option to the libc++ build:
  -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON
  -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON
  -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF
   to address upstream bug 46321
* Build libunwind
* Add riscv64 architecture in control
  enable liblldb, libomp and others which are
  currently unavailable in riscv64 repository.
* Add libxml2 as a dependency as it is necessary
  for llvm manifest tool (llvm-mt)
  (Closes: #990537)
* d/rules: Adjust cmake defines to fix libclc.pc paths
2021-07-30 22:09:10 +02:00
Sylvestre Ledru
d7b9f6065e also test the execution 2021-07-30 14:48:16 +02:00
Sylvestre Ledru
3c58d712e5 Merge branch '12' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 12 2021-07-30 14:29:20 +02:00
Sylvestre Ledru
c72a6c0e50 Generate libunwind-12 & libunwind-12-dev packages 2021-07-30 14:27:04 +02:00
Sylvestre Ledru
1ee42313c8 also suggest the removal of libclc 2021-07-30 09:17:41 +02:00
Sylvestre Ledru
8358f9498b Add the following option to the libc++ build: -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF to address upstream bug 46321 2021-07-27 17:58:15 +02:00
Sylvestre Ledru
93a4e65197 fix the arch 2021-05-29 09:41:01 +02:00
Sylvestre Ledru
8e82a7632b linker tools wasn't recommended in the install 2021-05-29 09:38:54 +02:00
Sylvestre Ledru
24dc47892d libclc: improve the test 2021-05-01 16:29:23 +02:00
Timo Aaltonen
437f86c9d5 Build libclc. (Closes: #942709) 2021-05-01 01:02:54 +03:00
Gianfranco Costamagna
a8093670b2 Don't hard fail on z3 failures with "set -e" at the begin, if z3 support is not available we do fail and exit testsuite without checking the log 2021-03-20 16:23:03 +01:00
Gianfranco Costamagna
cf9f0aa703 dont' fail fsanitize=thread on i386, not supported 2021-03-18 10:06:12 +01:00
Adrian Bunk
a5a3ee8671 Revert "qualify-clang.sh: skip a fuzzer test in i386 because of https://bugs.llvm.org/show_bug.cgi?id=43677"
This reverts commit f81965c320.
2020-11-05 09:28:35 +01:00
Sylvestre Ledru
f78cb2d09f qualify-clang.sh: skip a fuzzer test in i386 because of https://bugs.llvm.org/show_bug.cgi?id=43677 2020-11-05 09:28:35 +01:00
Adrian Bunk
4a3fe9fff1 Revert "qualify-clang.sh: skip a fuzzer test in i386 because of https://bugs.llvm.org/show_bug.cgi?id=43677"
This reverts commit f81965c320.
2020-11-02 21:02:13 +02:00
Sylvestre Ledru
f81965c320 qualify-clang.sh: skip a fuzzer test in i386 because of https://bugs.llvm.org/show_bug.cgi?id=43677 2020-11-02 12:44:55 +01:00
Sylvestre Ledru
f1eefa3fd8 Merge remote-tracking branch 'origin/10' into 11 2020-10-31 14:15:45 +01:00
Sylvestre Ledru
6e93b8e48e Remove an hardcoded declaration to 10 2020-10-22 22:28:39 +02:00
Gianfranco Costamagna
86b65186ea Change the previous commit to include only amd64 and i386 2020-10-07 14:08:00 +02:00
Gianfranco Costamagna
42e6ff160d Don't fail on armhf and arm64 tests that are intended to run on intel 2020-10-07 12:33:24 +02:00
Gianfranco Costamagna
92c48ba3c1 Reduce the string comparison for z3 support 2020-10-01 15:19:43 +02:00
Gianfranco Costamagna
d34f8688a3 qualify-clang.sh: exclude z3 tests when support is not available, not based on libz3-dev installation but on the error returned by clang invocation 2020-10-01 15:11:40 +02:00
Sylvestre Ledru
3041189ac0 remove all artifacts after tests 2020-09-30 20:22:00 +02:00
Sylvestre Ledru
3ea916082a Remove an hardcoded declaration to 10 2020-09-28 09:58:31 +02:00
Sylvestre Ledru
37c1e71cb5 Fix autopkgtest
* In the autopkgtest tests, update the opt arguments (-q removed and -basicaa renamed to -basic-aa)
2020-09-27 13:13:19 +02:00
Gianfranco Costamagna
9f56f26263 qualify-clang.sh: fix one failing test, now clang-11 is finding only 2 warnings instead of 3 (as it was clang-10).
Any number > 1 is considered ok as result, so only grepping "warnings" works now.
2020-09-03 12:17:42 +02:00
Gianfranco Costamagna
b0dd1d7059 qualify-clang.sh: don't suggest anymore dbgsym packages, removed from sid with ddbg migration 2020-09-03 12:17:42 +02:00
Sylvestre Ledru
b4b92d6edb Merge remote-tracking branch 'origin/10' into 11 2020-09-02 13:57:51 +02:00
Gianfranco Costamagna
239fca72ff reupload to sid, with another hotfix for the autopkgtests 2020-08-31 12:28:19 +02:00
Gianfranco Costamagna
1a78b82ac7 update-binfmts enable command might fail on autopkgtests due to /proc missing some bits. Ignore the results for now 2020-08-31 12:26:49 +02:00
Gianfranco Costamagna
32d742d936 Ignore binfmts test result, can't be enabled in autopkgtests due to proc mount 2020-08-28 21:56:41 +02:00
Gianfranco Costamagna
d29a315622 Ignore binfmts test result, can't be enabled in autopkgtests due to proc mount 2020-08-28 21:23:17 +02:00
Gianfranco Costamagna
bcaea5c994 Enable binfmts support profile before using it, this fixes the autopkgtestsuite 2020-08-27 12:47:57 +02:00
Gianfranco Costamagna
5cc24c5818 Fix testsuite by enabling binfmt configuration magic before using it 2020-08-27 12:41:28 +02:00
Sylvestre Ledru
16a9075307 improve the update-binfmts test 2020-07-08 16:26:53 +02:00
Sylvestre Ledru
585bc22dec Merge remote-tracking branch 'origin/10' into snapshot 2020-07-08 14:36:25 +02:00
Sylvestre Ledru
0d085612b3 And make sure that the test is only executed when installed correctly 2020-07-08 14:05:27 +02:00
Sylvestre Ledru
e6e99188f2 Merge remote-tracking branch 'origin/10' into snapshot 2020-07-01 09:28:37 +02:00
Sylvestre Ledru
c8b1fa8b3e use llvm-config instead of the hardcoded list of lib 2020-04-24 09:38:40 +02:00
Sylvestre Ledru
f73bc0eea3 Silent more stuff 2020-04-21 13:53:19 +02:00
Sylvestre Ledru
b7c20021e5 add a test for llvm-dis 2020-04-20 23:28:18 +02:00
Sylvestre Ledru
2890d4da10 add the test to executed llvm ir 2020-04-20 23:22:38 +02:00
Sylvestre Ledru
46af6614ca add the test to executed llvm ir 2020-04-20 23:16:23 +02:00
Sylvestre Ledru
b2ac027bb4 add some tests with clang -emit-llvm, llc, lli and opt 2020-04-20 23:02:54 +02:00
Sylvestre Ledru
a4742d03b8 Merge remote-tracking branch 'origin/10' into snapshot 2020-04-11 11:59:35 +02:00
Sylvestre Ledru
2e5e0ec30a Also ship polly libs in libclang-common-10-dev. Fixes bug #44870 (upstream) 2020-04-11 00:00:01 +02:00