Commit Graph

1097 Commits

Author SHA1 Message Date
Sylvestre Ledru
dafef55b0b add verbose options to ninja elsewere 2021-09-25 16:33:30 +02:00
Sylvestre Ledru
b44d95a67a remove dup declaration on -DLIBUNWIND_USE_COMPILER_RT=ON 2021-09-24 12:21:58 +02:00
Sylvestre Ledru
9e1fc686b7 Merge remote-tracking branch 'origin/12' into 13 2021-09-18 21:37:21 +02:00
Sylvestre Ledru
2dd2237b95 revert the type 2021-09-18 21:37:13 +02:00
Sylvestre Ledru
1fd55c650c Merge remote-tracking branch 'origin/12' into 13 2021-09-18 21:21:27 +02:00
Sylvestre Ledru
cbfda973fc fix the syntax 2021-09-18 21:21:17 +02:00
Sylvestre Ledru
f042961239 Merge remote-tracking branch 'origin/12' into 13 2021-09-18 21:17:59 +02:00
Sylvestre Ledru
79dfccf0cd fix the syntax 2021-09-18 21:17:47 +02:00
Sylvestre Ledru
ab717f0bf9 Merge remote-tracking branch 'origin/12' into 13 2021-09-18 21:09:16 +02:00
Sylvestre Ledru
35b25e9009 fix the syntax 2021-09-18 21:08:54 +02:00
Sylvestre Ledru
44b820ea05 remove the build dir 2021-09-18 21:03:15 +02:00
Sylvestre Ledru
cb8041ccc0 Merge remote-tracking branch 'origin/12' into 13 2021-09-18 18:58:04 +02:00
Sylvestre Ledru
5f7be1a1b8 Replace use of which with type -p 2021-09-18 16:24:07 +02:00
Sylvestre Ledru
066d9c791a Replace make by ninja for the build process It is now more tested than make by upstream And it is supposed to be faster Removed openmp/bootstrap-with-openmp-version-export-missing.diff as it seems that the ninja move fixed it 2021-09-18 11:37:41 +02:00
Sylvestre Ledru
5bfd304732 Ship clang-repl See https://reviews.llvm.org/D106813 2021-09-17 22:43:26 +02:00
Sylvestre Ledru
0cf955e0aa * Add back CMAKE_EXTRA to build LLVM gold (Closes: #993664) 2021-09-04 16:38:59 +02:00
Sylvestre Ledru
813bc15420 bring back CMAKE_EXTRA in the main cmake call - it was causing https://github.com/opencollab/llvm-toolchain-integration-test-suite/issues/64 2021-09-04 14:20:53 +02:00
Sylvestre Ledru
1da83e411b adjust -DLIBCXXABI_LIBCXX_INCLUDES=//include/c++/v1/ 2021-09-02 08:56:22 +02:00
Sylvestre Ledru
2d5eb8aa64 move -DCMAKE_POSITION_INDEPENDENT_CODE=ON to libc++ 2021-09-01 22:12:03 +02:00
Sylvestre Ledru
1f066f0e5a Merge remote-tracking branch 'origin/12' into 13 2021-09-01 21:51:07 +02:00
Sylvestre Ledru
e62759f94b YES => ON 2021-09-01 21:50:43 +02:00
Sylvestre Ledru
ea58ae89fa Merge remote-tracking branch 'origin/12' into 13 2021-09-01 21:32:45 +02:00
Sylvestre Ledru
7b243bb50c bring back rm -rf 2021-09-01 21:28:12 +02:00
Sylvestre Ledru
0d8c8debd1 remove some non functional options 2021-09-01 12:47:06 +02:00
Sylvestre Ledru
8d8e2c7240 Don't generate the llvm-mcmarkup & lldb-mi manpages (don't exist anymore) (LP: #1940713) 2021-09-01 12:47:05 +02:00
Sylvestre Ledru
f44ed65e2b use the -S -B cmake options 2021-09-01 12:47:05 +02:00
Sylvestre Ledru
4ae770b3f6 set the right name for the targets 2021-09-01 12:47:05 +02:00
Sylvestre Ledru
a0227e5ce6 move arguments in their own section 2021-09-01 12:47:05 +02:00
Sylvestre Ledru
c5a885df68 remove non working args 2021-09-01 12:47:05 +02:00
Sylvestre Ledru
e888bdfcf0 unwind should use compiler-rt 2021-09-01 12:47:05 +02:00
Sylvestre Ledru
c5abefccae try back the old behavior 2021-09-01 12:47:05 +02:00
Sylvestre Ledru
fd6502bedd try to used runtimes and others refactors 2021-09-01 12:47:01 +02:00
Sylvestre Ledru
2f0b96606f 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-09-01 12:45:28 +02:00
Sylvestre Ledru
54c1ec180d cmake: use ON instead of YES for consistency 2021-09-01 12:45:28 +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
Sylvestre Ledru
e472d6dc91 Build with -DCMAKE_POSITION_INDEPENDENT_CODE=ON to libc++ and libc++abi 2021-08-31 22:52:36 +02:00
Sylvestre Ledru
e9e855e83b remove some non functional options 2021-08-31 22:51:53 +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
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
1ee4395092 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 09:42:40 +02:00
Sylvestre Ledru
7a5f476569 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-27 09:41:17 +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