guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/07: gnu: Add libunwind-headers.


From: guix-commits
Subject: 03/07: gnu: Add libunwind-headers.
Date: Thu, 23 Sep 2021 06:08:17 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 33783d9009cb6f5b9cfa433822037e28ca9c9a00
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Sep 22 22:24:25 2021 +0200

    gnu: Add libunwind-headers.
    
    * gnu/packages/llvm.scm (libunwind-headers): New public variable.
---
 gnu/packages/llvm.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index de964b0..5bb521b 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -918,6 +918,34 @@ of programming tools as well as libraries with equivalent 
functionality.")
                   ,@(package-properties llvm-12)))))
 
 
+
+(define-public libunwind-headers
+  (package
+    (name "libunwind-headers")
+    (version "12.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (llvm-uri "libunwind" version))
+              (sha256
+               (base32
+                "192ww6n81lj2mb9pj4043z79jp3cf58a9c2qrxjwm5c3a64n1shb"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:phases (modify-phases (map (lambda (phase)
+                                      (assq phase %standard-phases))
+                                    '(set-paths unpack))
+                  (add-after 'unpack 'install
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let ((out (assoc-ref outputs "out")))
+                        (mkdir out)
+                        (copy-recursively "include"
+                                          (string-append out "/include"))))))))
+    (home-page "https://clang.llvm.org/docs/Toolchain.html";)
+    (synopsis "LLVM libunwind header files")
+    (description
+     "This package contains header files for the LLVM C++ unwinding library.")
+    (license license:asl2.0)))          ;with LLVM exceptions
+
 (define-public lld
   (package
     (name "lld")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]