unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#56452] [PATCH 0/5] Fix and update LLVM and clang-toolchain.
@ 2022-07-08 15:57 Greg Hogan
  2022-07-08 15:58 ` [bug#56452] [PATCH 1/5] gnu: llvm-8: Fix build with gcc-10 Greg Hogan
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Greg Hogan @ 2022-07-08 15:57 UTC (permalink / raw)
  To: 56452; +Cc: Greg Hogan

This patchset updates and fixes the builds of llvm-3.7, llvm-3.8, and
llvm-8 and also updates llvm-14.

The only failing depedent package is beignet, which has failed to build
since last year's replacement of ocl-icd with opencl-icd-loader. beignet
has no dependents and was last updated in 2017.

By building clang-toolchain with a libomp built with the same version of
llvm we remove the additional copy of llvm and reduce the size of the
closure from 1330.9 MB to 1156 MB.

If this is accepted I would look to submit a follow-on patchset adding
libomp varients for clang-toolchain-12 and earlier.

$ guix size clang-toolchain@14 | grep 'clang\|llvm\|libomp'
/gnu/store/rhs2ws9xqx5ln44ix2kvjmmjv3jg5aw1-clang-14.0.5           886.1   215.6  16.2%
/gnu/store/pkcw25plv6310pmmm7yi276fzzpnl6zq-llvm-14.0.5            257.2   185.2  13.9%
/gnu/store/579xrf7vz85ynjlk62njaczgnayam1ar-llvm-13.0.1            247.1   175.0  13.2%
/gnu/store/p0spbhzkk7wa3phiyk126n1kkfdsnmw9-clang-runtime-14.0.5   227.9    31.6   2.4%
/gnu/store/js2yvkq2ki2zbl166g2mfa53qlrilxhn-libomp-13.0.1          253.9     1.8   0.1%
/gnu/store/ahr3mcg1l1nml67x4i1znws25ph84bb2-clang-toolchain-14.0.5  1330.9     0.3   0.0%

$ ./pre-inst-env guix size clang-toolchain@14 | grep 'clang\|llvm\|libomp'
/gnu/store/hcypy6mb3v19a58hvaf265283jgd37mm-clang-14.0.6           886.1   215.6  18.6%
/gnu/store/0ip696hw07p8rmwyqks0slm642mhdzfh-llvm-14.0.6            257.2   185.2  16.0%
/gnu/store/bckl8q1wra5k0cgwfiyb2syay556gwjr-clang-runtime-14.0.6   227.9    31.6   2.7%
/gnu/store/rpk14gkhav3mrcf5wppyc77yd2jh5syi-libomp-14.0.6          264.2     1.9   0.2%
/gnu/store/bynhq99qdd71n1v4y52x533bxghz6i1x-clang-toolchain-14.0.6  1156.0     0.3   0.0%

Greg Hogan (5):
  gnu: llvm-8: Fix build with gcc-10.
  gnu: llvm-3.7, llvm-3.8: Fix build with gcc.
  gnu: faust-2: Update to 2.41.1.
  gnu: LLVM, Clang, LLD: Update to 14.0.6.
  gnu: clang-toolchain-14: Build with libomp-14.

 gnu/local.mk                                  |   3 +
 gnu/packages/audio.scm                        |   8 +-
 gnu/packages/llvm.scm                         | 134 +++++++++++-------
 ...g-runtime-3.7-fix-build-with-python3.patch |  16 +++
 .../llvm-3.x.1-fix-build-with-gcc.patch       |  15 ++
 .../llvm-8-fix-build-with-gcc-10.patch        |  34 +++++
 6 files changed, 155 insertions(+), 55 deletions(-)
 create mode 100644 gnu/packages/patches/clang-runtime-3.7-fix-build-with-python3.patch
 create mode 100644 gnu/packages/patches/llvm-3.x.1-fix-build-with-gcc.patch
 create mode 100644 gnu/packages/patches/llvm-8-fix-build-with-gcc-10.patch

-- 
2.36.1





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-07-12 22:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-08 15:57 [bug#56452] [PATCH 0/5] Fix and update LLVM and clang-toolchain Greg Hogan
2022-07-08 15:58 ` [bug#56452] [PATCH 1/5] gnu: llvm-8: Fix build with gcc-10 Greg Hogan
2022-07-08 15:58   ` [bug#56452] [PATCH 2/5] gnu: llvm-3.7, llvm-3.8: Fix build with gcc Greg Hogan
2022-07-08 15:58   ` [bug#56452] [PATCH 3/5] gnu: faust-2: Update to 2.41.1 Greg Hogan
2022-07-11 22:06     ` [bug#56452] [PATCH 0/5] Fix and update LLVM and clang-toolchain Ludovic Courtès
2022-07-12 20:06       ` Greg Hogan
2022-07-08 15:58   ` [bug#56452] [PATCH 4/5] gnu: LLVM, Clang, LLD: Update to 14.0.6 Greg Hogan
2022-07-08 15:58   ` [bug#56452] [PATCH 5/5] gnu: clang-toolchain-14: Build with libomp-14 Greg Hogan
2022-07-11 23:17 ` [bug#56452] [PATCH 0/5] Fix and update LLVM and clang-toolchain Ludovic Courtès
2022-07-12 20:07 ` [bug#56452] [PATCH v2] gnu: faust-2: Update to 2.41.1 Greg Hogan
2022-07-12 22:19   ` bug#56452: [PATCH 0/5] Fix and update LLVM and clang-toolchain Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).