Commit Graph

4196 Commits

Author SHA1 Message Date
Sylvestre Ledru
e62759f94b YES => ON 2021-09-01 21:50:43 +02:00
Sylvestre Ledru
7b243bb50c bring back rm -rf 2021-09-01 21:28:12 +02:00
Gianfranco Costamagna
0b8dd2ed86 Merge branch '11' into 12 2021-09-01 12:45:19 +02:00
Gianfranco Costamagna
a77fbe05ad Update changelog 2021-09-01 12:44:45 +02:00
Gianfranco Costamagna
4269703bfc * Don't build lldb on riscv64, fails to build due to missing
CreateHostNativeRegisterContextLinux implementation on this architecture.
2021-09-01 12:44:19 +02:00
Gianfranco Costamagna
20534b1b6a Update changelog 2021-09-01 12:24:49 +02:00
Gianfranco Costamagna
07446f3aed Add upstream patch to fix a texture failure with mesa
* Cherry-pick upstream commit to fix a libgl1-mesa-dri texture failure.
    (Closes: #989545)
2021-09-01 12:24:03 +02:00
Sylvestre Ledru
e9e855e83b remove some non functional options 2021-08-31 22:51:53 +02:00
Sylvestre Ledru
8ad1bc4a4f remove llvm-mcmarkup one more time 2021-08-31 21:51:38 +02:00
Sylvestre Ledru
2b5bc71a9f fix changelog 2021-08-31 20:57:23 +02:00
Sylvestre Ledru
2dab488e22 Fix changelog 2021-08-31 20:31:04 +02:00
Sylvestre Ledru
1d3572279a Don't generate the llvm-mcmarkup & lldb-mi manpages (don't exist anymore) (LP: #1940713) 2021-08-31 20:29:56 +02:00
Sylvestre Ledru
3ac274e97a use the -S -B cmake options 2021-08-31 20:29:56 +02:00
Sylvestre Ledru
0592c3fcfc set the right name for the targets 2021-08-31 20:29:56 +02:00
Sylvestre Ledru
433ee8f108 move arguments in their own section 2021-08-31 20:29:56 +02:00
Sylvestre Ledru
7f965fcb06 remove non working args 2021-08-31 20:29:56 +02:00
Sylvestre Ledru
1ea2400bf7 unwind should use compiler-rt 2021-08-31 20:29:56 +02:00
Sylvestre Ledru
4431d4bc18 try back the old behavior 2021-08-31 20:29:56 +02:00
Sylvestre Ledru
2903f4fa18 try to used runtimes and others refactors 2021-08-31 20:29:51 +02:00
Sylvestre Ledru
296a093d1f Add debian/source/options to ignore the diff (much much faster to repack) 2021-08-29 17:36:19 +02:00
Sylvestre Ledru
5679c920dd check if clang-tidy is installed 2021-08-29 15:59:35 +02:00
Sylvestre Ledru
135e393ff7 Add LIBCXXABI_ENABLE_STATIC_UNWINDER=ON LIBCXXABI_STATICALLY_LINK_UNWINDER_IN_SHARED_LIBRARY=OFF LIBCXXABI_STATICALLY_LINK_UNWINDER_IN_STATIC_LIBRARY=ON to libc++ when libunwind is built Matches what is done on brew: https://bit.ly/3kDNpC9 2021-08-29 15:59:33 +02:00
Sylvestre Ledru
0001ff9f31 cmake: use ON instead of YES for consistency 2021-08-29 15:59:04 +02:00
Sylvestre Ledru
5821a6165d Extends the lintian override as it is causing other issues:
lintian.llvm-toolchain-snapshot source.invalid-arch-string-in-source-relation riscv64 [build-depends: ocaml-nox [amd64 arm64 armhf ppc64el riscv64 s390x]]
    lintian.llvm-toolchain-snapshot source.invalid-arch-string-in-source-relation riscv64 [build-depends: ocaml-findlib [amd64 arm64 armhf ppc64el riscv64 s390x]]
    lintian.llvm-toolchain-snapshot source.invalid-arch-string-in-source-relation riscv64 [build-depends: libctypes-ocaml-dev [amd64 arm64 armhf ppc64el riscv64 s390x]]
    lintian.llvm-toolchain-snapshot source.invalid-arch-string-in-source-relation riscv64 [build-depends: dh-ocaml [amd64 arm64 armhf ppc64el riscv64 s390x]]
2021-08-28 09:46:22 +02:00
Gianfranco Costamagna
998cabd4e7 Update changelog, add an omp-riscv64 patch not yet upstreamed to help omp build successfully there 2021-08-27 11:21:58 +02:00
Gianfranco Costamagna
635dc30b14 First attempt to fix riscv64 build, by fixing build deps and correctly enabling ocaml/lld and other features.
Tweak build installability on i386 to help Ubuntu backports and impish
2021-08-27 08:45:23 +02:00
Gianfranco Costamagna
44329f6edd also sed debian/tests/integration-test-suite-test file on new release 2021-08-27 08:44:49 +02:00
Sylvestre Ledru
1d8600f74e update of the dates 2021-08-25 10:18:33 +02:00
Sylvestre Ledru
dccb201a1e Merge branch '12-spirv' into '12'
debian: Include SPIR-V (*.spv) outputs in libclc package

See merge request pkg-llvm-team/llvm-toolchain!71
2021-08-25 08:17:23 +00:00
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
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
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
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
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
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
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
cb191ac1b3 fix the build of libunwind 2021-08-01 20:40:14 +02:00
Sylvestre Ledru
62bcced93d fix the version when using the ugly testing script 2021-08-01 18:09:08 +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
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