Commit Graph

637 Commits

Author SHA1 Message Date
Sylvestre Ledru
cb8041ccc0 Merge remote-tracking branch 'origin/12' into 13 2021-09-18 18:58:04 +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
ea58ae89fa Merge remote-tracking branch 'origin/12' into 13 2021-09-01 21:32: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
John Paul Adrian Glaubitz
bd20ed6880 Disable libunwind-X.Y{-dev} packages on sparc and sparc64 2021-08-29 21:31:01 +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
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
1b732c2af9 Merge remote-tracking branch 'origin/12' into 13 2021-08-17 13:45:49 +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
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
42af26b2d7 Make libunwind-dev depends on libunwind 2021-08-08 10:59:13 +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
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
c72a6c0e50 Generate libunwind-12 & libunwind-12-dev packages 2021-07-30 14:27:04 +02:00
Sylvestre Ledru
570118155e Branching of snapshot into 13 2021-07-28 18:42:19 +02:00
Sylvestre Ledru
e0994366bb Merge remote-tracking branch 'origin/12' into snapshot 2021-07-17 20:18:42 +02:00
Sylvestre Ledru
ed64f98bf8 fix dep 2021-07-16 08:58:50 +02:00
Sylvestre Ledru
e88c61a6c9 fix dep 2021-07-16 00:03:39 +02:00
Sylvestre Ledru
ab58d4d880 fix a silly merge mistake 2021-07-15 13:25:28 +02:00
Sylvestre Ledru
c6bdea6350 Merge branch '12' into '12'
Add riscv64 architecture in control

See merge request pkg-llvm-team/llvm-toolchain!68
2021-07-12 06:19:13 +00:00
Sylvestre Ledru
a64aafffc3 remove comment which breaks the build 2021-07-12 07:53:03 +02:00
Sylvestre Ledru
2b662cc078 remove comment which breaks the build 2021-07-11 23:53:51 +02:00
Sylvestre Ledru
e2793c0903 Merge remote-tracking branch 'origin/12' into snapshot 2021-07-11 23:45:00 +02:00
Sylvestre Ledru
439de0fe2e Merge remote-tracking branch 'origin/11' into 12 2021-07-11 23:38:53 +02:00
Sylvestre Ledru
443eeecf7b Add libxml2 as a dependency as it is necessary for llvm manifest tool (llvm-mt) (Closes: #990537) 2021-07-11 23:32:16 +02:00
kasperk81
c3ab7d5284 Add riscv64 architecture in control 2021-06-16 12:26:08 -04:00
Timo Aaltonen
437f86c9d5 Build libclc. (Closes: #942709) 2021-05-01 01:02:54 +03:00
Sylvestre Ledru
52b1876735 Enable lld on s390x 2021-04-28 22:37:11 +02:00
Sylvestre Ledru
2ab4845b99 Also build lld on s390x 2021-04-28 22:33:42 +02:00
Sylvestre Ledru
90f737ccd4 Also build lld on s390x 2021-04-28 22:31:14 +02:00
Sylvestre Ledru
2841301164 fix conflict 2021-04-18 23:15:05 +02:00
Sylvestre Ledru
d7414c7d56 adjust the dep for Debian 2021-04-18 23:07:37 +02:00
Sylvestre Ledru
99dcca8826 improve the description 2021-04-18 23:07:18 +02:00
Sylvestre Ledru
d46c88e66a * Disable again LTO
* Create a new package llvm-12-linker-tools:
  Contains the LLVMgold and LLVMPolly linker plugins.
2021-04-18 23:07:14 +02:00
Sylvestre Ledru
f01f2c149c * Improve the clean rule
* Disable again LTO
* Create a new package llvm-12-linker-tools:
  Contains the LLVMgold and LLVMPolly linker plugins.
* New upstream release
* Add -DCMAKE_SUPPRESS_REGENERATION=ON to limit the number of calls
  to cmake
  Try to workaround a bug on llvm-toolchain-stretch-12-binaries
  architecture=s390x,stretch
* New testing upstream release
2021-04-18 23:05:58 +02:00
Sylvestre Ledru
6a86b64534 adjust the dep for Debian 2021-04-15 13:36:45 +02:00
Sylvestre Ledru
a633fd02be improve the description 2021-04-15 13:34:02 +02:00
Sylvestre Ledru
608f891ab3 * Disable again LTO
* Create a new package llvm-12-linker-tools:
  Contains the LLVMgold and LLVMPolly linker plugins.
2021-04-15 13:33:03 +02:00
Sylvestre Ledru
e663e5fe66 fix a merge issue 2021-04-03 10:05:48 +02:00
Sylvestre Ledru
5e3bccc758 Merge remote-tracking branch 'origin/12' into snapshot 2021-04-03 09:52:59 +02:00
Gianfranco Costamagna
2523e2ab95 Don't force gcc-11 anymore on riscv64, gcc-10 has the fixes now 2021-03-20 17:16:09 +01:00
Sylvestre Ledru
09f3220736 Build using GCC 11 on riscv64. 2021-03-02 13:25:33 +01:00
Sylvestre Ledru
1863dbd882 Only enable libomp-13-doc on supported archs 2021-03-01 10:56:33 +01:00
Sylvestre Ledru
f13814c61c Only enable libomp-12-doc on supported archs 2021-03-01 10:54:16 +01:00