[PATCH] gnu: clang-runtime: Fix build for versions 10 and 11.

  • Done
  • quality assurance status badge
Details
2 participants
  • Nicolas Graves
  • Z572
Owner
unassigned
Submitted by
Nicolas Graves
Severity
normal
N
N
Nicolas Graves wrote on 19 Nov 08:26 +0100
(address . guix-patches@gnu.org)(name . Nicolas Graves)(address . ngraves@ngraves.fr)
20241119072659.12073-1-ngraves@ngraves.fr
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[inputs]: Add
libxcrypt for versions 10 and 11.
---
gnu/packages/llvm.scm | 3 +++
1 file changed, 3 insertions(+)

Toggle diff (16 lines)
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index c6566a3339..e2b8b689ba 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -170,6 +170,9 @@ (define* (clang-runtime-from-llvm llvm
(list llvm)
(if (version>=? version "15")
(list libffi)
+ '())
+ (if (member (version-major version) (list "10" "11"))
+ (list libxcrypt)
'())))
(arguments
`(;; Don't use '-g' during the build to save space.
--
2.46.0
Z
(name . Nicolas Graves via Guix-patches via)(address . guix-patches@gnu.org)
87ed362jkf.fsf@iscas.ac.cn
Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:

Toggle quote (21 lines)
> * gnu/packages/llvm.scm (clang-runtime-from-llvm)[inputs]: Add
> libxcrypt for versions 10 and 11.
> ---
> gnu/packages/llvm.scm | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
> index c6566a3339..e2b8b689ba 100644
> --- a/gnu/packages/llvm.scm
> +++ b/gnu/packages/llvm.scm
> @@ -170,6 +170,9 @@ (define* (clang-runtime-from-llvm llvm
> (list llvm)
> (if (version>=? version "15")
> (list libffi)
> + '())
> + (if (member (version-major version) (list "10" "11"))
> + (list libxcrypt)
> '())))
> (arguments
> `(;; Don't use '-g' during the build to save space.

pushed, closing.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmc90XAACgkQO1qpk+Gi
3/AYpg/+PLG6Xzcm53xhJpyCYvuQYDj95Ibq1o8sd+UoZELCJ/BrrJNILhllafgb
AcpZQDEXdf/BmMTl0qLUf50fOjJ7lp/s0Z+U/pFj5xgs371Y6U3xkGN+dLpyOqW/
VOtUiZ6w/003u6rLY/Ett+iQOsj+6imxldMZOenne3L6pcm7wX9Kfiz844KkNIFy
54qDXHz7Oe1TRjY9ZbZqwEi+3iVtSYIz/WSqRHHgOj8H4ccXvWrbyqCVTzNrmRQT
NoxgTbrlnA1NZ9GE/siCEWojddwoHjT3ytsnHv+JEQYl7wZcHxl5DP4vEUhf0vMM
FxoDqaEyTke0cp5ZEeVN7nNEHE+GX0eHCvKDL9ftoosUyBr9r8b7MpmiGgtDQdJH
f0dxFlKPYv/u4Gz1OBfqpDz+wUxGVm0/4wkCMD3Yf2gKGgPOQxcvmLnq8RY7P6aZ
rFoUp3Y0w/64vnxpS8qMFAqxWpHLhlxB04XFDNVuZ5r6hlEn81Yv3DWVhv6yra0f
8Io8FnH46+4yRzSjZtJxW9jr5zTKSi6mPtABpYAKe1FxHWw4SDi9F5SPtK5FL9Wy
HO4nmKxZm1j48lYnreBWVm4eRwCcDMNra8VtTCnG74kFqLiHciZ9Z3lTMDRV6j1o
YI0C/euxoMVaeizTTfUx4AastNqM3yKwVqyYLQ3Rjw0qXa7JFbM=
=G1UC
-----END PGP SIGNATURE-----

?
Your comment

This issue is archived.

To comment on this conversation send an email to 74433@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 74433
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch