Erik Maciejewski
f5573c878a
move LLVM_BINUTILS_INCDIR to STAGE1_CMAKE_EXTRA and
...
CLANG_BOOTSTRAP_PASSTHROUGH so that LLVMgold.so is built
2021-10-06 10:48:06 -07:00
Erik Maciejewski
e77266aac8
fix build config option causing assertions to be enabled by default
2021-10-06 10:48:06 -07:00
Erik Maciejewski
a7dd11a3c3
add stage2 lib dir as explicit lib path in libclc linker flags
2021-10-06 10:48:06 -07:00
Erik Maciejewski
fe702823c8
use PACKAGE_VENDOR
instead of CLANG_VENDOR
2021-10-06 10:48:06 -07:00
Erik Maciejewski
11a0af3898
fix new openmp patch overwritting previous openmp-soname patch
...
remove `debian/rules` libomp file `mv` on install due to patch fix
2021-10-06 10:48:06 -07:00
Erik Maciejewski
7377580543
remove unecessary cleanup to match upstream
...
(I probably selected wrong change in rebase conflict)
2021-10-06 10:48:06 -07:00
Erik Maciejewski
23f635bcd5
remove legacy make to match upstream
...
(I probably selected wrong change in rebase conflict)
2021-10-06 10:48:06 -07:00
Erik Maciejewski
af642aaee0
Revert "revert erroneous package dir name change"
...
This reverts commit 519ee630cdad09ab61813a5a9f57d30f6cac66b9.
2021-10-06 10:48:06 -07:00
Erik Maciejewski
181db69a11
remove CMAKE_VERBOSE_MAKEFILE and use cmake to invoke the two stage
...
toolchain build and set VERBOSE which enables verbose build output for
all stages and runtime builds
2021-10-06 10:48:06 -07:00
Erik Maciejewski
e91f88e9a1
improve libunwind option handling to try and not break builds on platforms
...
that don't support it
2021-10-06 10:48:06 -07:00
Erik Maciejewski
4223433040
revert erroneous package dir name change
2021-10-06 10:48:06 -07:00
Erik Maciejewski
124f977442
remove extra cd
when copying libomp SOs
2021-10-06 10:48:06 -07:00
Erik Maciejewski
057aaddd58
uncomment cleanup for clang/include/clang/Debian
2021-10-06 10:48:06 -07:00
Erik Maciejewski
69de88d53e
add back LLVM_BINUTILS_INCDIR for gold LTO plugin
2021-10-06 10:48:06 -07:00
Erik Maciejewski
e2ff301911
change cmake generator and all build invocations from make to ninja
2021-10-06 10:48:06 -07:00
Erik Maciejewski
20d2a90c2a
rules updates
2021-10-06 10:48:06 -07:00
Sylvestre Ledru
6da834fd4a
If parallel is not set in DEB_BUILD_OPTIONS, use nproc
2021-10-02 10:50:37 +02:00
John Paul Adrian Glaubitz
2b9b171e95
Disable libunwind on sparc, sparc64 and x32
2021-09-29 18:49:32 +02:00
Sylvestre Ledru
15c7d95715
remove make legacy
2021-09-27 17:09:53 +02:00
Sylvestre Ledru
dd2ac7bd0c
all ninja call should be verbose
2021-09-27 17:09:42 +02:00
Sylvestre Ledru
2dd2237b95
revert the type
2021-09-18 21:37:13 +02:00
Sylvestre Ledru
cbfda973fc
fix the syntax
2021-09-18 21:21:17 +02:00
Sylvestre Ledru
79dfccf0cd
fix the syntax
2021-09-18 21:17:47 +02:00
Sylvestre Ledru
35b25e9009
fix the syntax
2021-09-18 21:08:54 +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
0cf955e0aa
* Add back CMAKE_EXTRA to build LLVM gold ( Closes : #993664 )
2021-09-04 16:38:59 +02:00
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
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
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
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
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
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
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
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
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