[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/24: gnu: Add libunwind-next.
From: |
guix-commits |
Subject: |
22/24: gnu: Add libunwind-next. |
Date: |
Fri, 20 Aug 2021 10:20:40 -0400 (EDT) |
efraim pushed a commit to branch wip-riscv
in repository guix.
commit 5907035c7554c1142baff1135394ee938b43770e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Aug 19 16:40:00 2021 +0300
gnu: Add libunwind-next.
* gnu/packages/libunwind.scm (libunwind-next): New variable.
---
gnu/packages/libunwind.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/libunwind.scm b/gnu/packages/libunwind.scm
index 9eaf26f..df9567a 100644
--- a/gnu/packages/libunwind.scm
+++ b/gnu/packages/libunwind.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,8 +23,10 @@
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
- #:use-module (guix licenses))
+ #:use-module (guix licenses)
+ #:use-module (gnu packages autotools))
(define-public libunwind
(package
@@ -53,3 +56,26 @@ call-chain (non-local goto). The API supports both local
(same-process) and
remote (across-process) operation. As such, the API is useful in a number of
applications.")
(license x11)))
+
+(define-public libunwind-next
+ ;; Libunwind gained support for riscv64-linux since the last release, but
+ ;; backporting that support isn't feasable.
+ (package
+ (inherit libunwind)
+ (name "libunwind-next")
+ (version "1.6.0-rc1")
+ (source (origin
+ ;; The generated tarball FTBFS on riscv64-linux, use git instead.
+ ;; https://github.com/libunwind/libunwind/issues/289
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libunwind/libunwind")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0zmmn0zb4mfk2akgb8d67y92nmx25gcrqad7bq9dzill79vbcqsv"))))
+ (arguments
+ `(#:tests? #t))
+ (native-inputs
+ (list autoconf automake libtool))))
- 04/24: gnu: %boot3-inputs: Add missing input., (continued)
- 04/24: gnu: %boot3-inputs: Add missing input., guix-commits, 2021/08/20
- 05/24: gnu: guile: Fix building on riscv64-linux., guix-commits, 2021/08/20
- 09/24: gnu: pcre: Fix building on riscv64-linux., guix-commits, 2021/08/20
- 10/24: gnu: openssl: Fix build on riscv64-linux., guix-commits, 2021/08/20
- 15/24: gnu: icu4c: Skip tests on riscv64-linux., guix-commits, 2021/08/20
- 11/24: gnu: libtool: Fix test suite on riscv64-linux., guix-commits, 2021/08/20
- 14/24: gnu: pcre2: Fix building on riscv64-linux., guix-commits, 2021/08/20
- 16/24: gnu: openblas-ilp64: Add riscv64-linux as a supported architecture., guix-commits, 2021/08/20
- 18/24: gnu: texlive-bin: Fix building on riscv64-linux., guix-commits, 2021/08/20
- 20/24: gnu: lapack: Fix building on riscv64-linux., guix-commits, 2021/08/20
- 22/24: gnu: Add libunwind-next.,
guix-commits <=
- 23/24: gnu: Use libunwind-next for riscv64-linux., guix-commits, 2021/08/20
- 24/24: gnu: libaio: Fix test suite on riscv64-linux., guix-commits, 2021/08/20
- 19/24: gnu: lz4: Build on riscv64-linux without valgrind., guix-commits, 2021/08/20
- 21/24: gnu: texlive-latex-base: Skip JIT formats on riscv64-linux., guix-commits, 2021/08/20
- 13/24: gnu: mesa: Add support for riscv64-linux., guix-commits, 2021/08/20