Commit Graph

4566 Commits

Author SHA1 Message Date
Jordan Justen
ff5ad94c9d
debian: Include SPIR-V (*.spv) outputs in libclc package
This adds the following to the libclc-12 package:

/usr/lib/clc/spirv64-mesa3d-.spv
/usr/lib/clc/spirv-mesa3d-.spv

Since Debian buster & Ubuntu 18.04 don't have the llvm-spirv package,
they cannot support this feature. Therefore, as suggested by tjaalton,
we make the control Build-Depends for spirv dependencies include
"| hello".

This causes the simple "hello world" package to be installed on these
older distros, which is small and unrelated to llvm. Then, in
debian/rules, we check to see if llvm-spirv is installed.

Note that sbuild must use `--resolve-alternatives` for these older
distributions, or sbuild won't search for the "hello" alternatives in
the Build-Depends.

Signed-off-by: Jordan Justen <jljusten@debian.org>
2021-08-19 00:33:09 -07:00
Sylvestre Ledru
a5c59c995f Merge remote-tracking branch 'origin/12' into 13 2021-08-18 13:23:10 +02:00
Sylvestre Ledru
c5b9334be2 Revert "libclc: Include libclc spir-v outputs (used by Mesa opencl)"
This reverts commit f572d3695e.
2021-08-18 12:47:45 +02:00
Sylvestre Ledru
9c412a5e95 uploaded 2021-08-17 13:48:40 +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
2a5020dbfb change the version for the libclc upload 2021-08-17 12:14:59 +02:00
Sylvestre Ledru
f4597c6a4d improve the testsuite 2021-08-17 12:14:06 +02:00
Sylvestre Ledru
393d97f7f9 Remove old svn reference in the usage dh_strip & dh_makeshlibs 2021-08-17 10:18:48 +02:00
Sylvestre Ledru
738f2e6613 remove old svn reference in the usage dh_strip & dh_makeshlibs 2021-08-17 10:18:05 +02:00
Sylvestre Ledru
8a3b67e747 run_test: add debug info 2021-08-17 10:18:05 +02:00
Sylvestre Ledru
18a17f2ab3 Merge branch '12-fix-pc-and-spirv' into '12'
include spir-v outputs in libclc-12 package

See merge request pkg-llvm-team/llvm-toolchain!69
2021-08-17 08:00:29 +00: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
9a0b8c2663 Add a new variable called SONAME_CLANG as clang soname has started with llvm-toolchain-13. it is normal that 13 is what is seen in 14 or later version as it is bumped only with abi changes 2021-08-16 15:49:00 +02:00
Jordan Justen
f572d3695e
libclc: Include libclc spir-v outputs (used by Mesa opencl)
This adds the following to the libclc-12 package:

/usr/lib/clc/spirv64-mesa3d-.spv
/usr/lib/clc/spirv-mesa3d-.spv

Signed-off-by: Jordan Justen <jljusten@debian.org>
2021-08-16 01:01:39 -07:00
Sylvestre Ledru
fe53b80fb8 Add symbol clang_CompileCommand_getNumMappedSources to libclang 2021-08-11 13:10:34 +02:00
Sylvestre Ledru
5d8ec6a318 Merge remote-tracking branch 'origin/12' into 13 2021-08-09 13:08:36 +02:00
Sylvestre Ledru
c59ca700a1 Don't build libunwind on hurd, armel, powerpc & mipsel 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
7a22a0e1ff Don't build libunwind on hurd, armel, powerpc & mipsel 2021-08-08 11:07:52 +02:00
Sylvestre Ledru
f950e2d7ca unwind: fix the version 2021-08-08 11:02:42 +02:00
Sylvestre Ledru
8898d4f746 Merge remote-tracking branch 'origin/12' into 13 2021-08-08 11:02:11 +02:00
Sylvestre Ledru
4ea50e0e0f Don't build libunwind on armel & mipsel 2021-08-08 11:01:49 +02:00
Sylvestre Ledru
42af26b2d7 Make libunwind-dev depends on libunwind 2021-08-08 10:59:13 +02:00
Sylvestre Ledru
49b3cf76f1 fix scanbuild py 2021-08-04 15:29:01 +02:00
Sylvestre Ledru
0c10ea95e7 fix the version 2021-08-03 09:32:30 +02:00
Sylvestre Ledru
38d3fddeb9 Merge remote-tracking branch 'origin/12' into 13 2021-08-02 11:00:53 +02:00
Sylvestre Ledru
a5528e133e libc++ & libc++ abi: only pass -DLIBCXXABI_USE_LLVM_UNWINDER=YES if libunwind is available on the platform 2021-08-02 10:59:45 +02:00
Sylvestre Ledru
45acb9d788 Merge remote-tracking branch 'origin/12' into 13 2021-08-01 20:40:33 +02:00
Sylvestre Ledru
cb191ac1b3 fix the build of libunwind 2021-08-01 20:40:14 +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
3e1c4e5fd9 Merge remote-tracking branch 'origin/12' into 13 2021-08-01 11:43:45 +02:00
Sylvestre Ledru
c039e0465f Build libunwind only on amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64 sparc sparc64 Not supported on s390x for example 2021-08-01 11:43:19 +02:00
Sylvestre Ledru
f20d336773 fix changelog 2021-07-31 21:06:27 +02:00
Sylvestre Ledru
972d4e79a4 * Adjust libclang:
- upstream decided to make it stable starting from 13, with the soname
  - for now, I am not planning to rename libclang1-13 to libclang13 as it will
    cause too much churn for a small gain as we will keep libllvm (while
    losing the capability to have different versions in parallel installed)
2021-07-31 12:33:52 +02:00
Sylvestre Ledru
b32eed2767 remove the revert as it has been fixed upstream 2021-07-31 09:19:47 +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
13740e79ae Fix changelog 2021-07-30 14:49:34 +02:00
Sylvestre Ledru
8f6718bcb1 Make libc++abi use libunwind 2021-07-30 14:49:11 +02:00
Sylvestre Ledru
6b84ba401e Build libunwind 2021-07-30 14:49:04 +02:00
Sylvestre Ledru
d7b9f6065e also test the execution 2021-07-30 14:48:16 +02:00
Sylvestre Ledru
4424a0f166 fix changelog 2021-07-30 14:30:40 +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
570118155e Branching of snapshot into 13 2021-07-28 18:42:19 +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
d7240e1a38 Merge branch '12-fix-pc' into '12'
d/rules: Adjust cmake defines to fix libclc.pc paths

See merge request pkg-llvm-team/llvm-toolchain!70
2021-07-21 06:36:55 +00:00