guix-commits
[Top][All Lists]
Advanced

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

19/45: gnu: Add libomp-7.


From: guix-commits
Subject: 19/45: gnu: Add libomp-7.
Date: Thu, 4 Aug 2022 06:07:08 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 93c71314d33f6082e13806d2d8da276a2a8fa559
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Wed Jul 20 15:09:07 2022 +0000

    gnu: Add libomp-7.
    
    * gnu/packages/llvm.scm (libomp-7): New variable.
    
    Signed-off-by: Ludovic Court├Ęs <ludo@gnu.org>
---
 gnu/packages/llvm.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index c3a1b875e0..773870b256 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -1111,6 +1111,22 @@ with that of libgomp, the GNU Offloading and Multi 
Processing Library.")
                    "0vc4i87qwxnw9lci4ayws9spakg0z6w5w670snj9f8g5m9rc8zg9"
                    #:patches '("clang-7.0-libc-search-path.patch")))
 
+(define-public libomp-7
+  (package
+    (inherit libomp-8)
+    (version (package-version llvm-7))
+    (source (origin
+              (method url-fetch)
+              (uri (llvm-uri "openmp" version))
+              (sha256
+               (base32
+                "1dg53wzsci2kra8lh1y0chh60h2l8h1by93br5spzvzlxshkmrqy"))
+              (file-name (string-append "libomp-" version ".tar.xz"))))
+    (native-inputs
+     (modify-inputs (package-native-inputs libomp-8)
+       (replace "clang" clang-7)
+       (replace "llvm" llvm-7)))))
+
 (define-public clang-toolchain-7
   (make-clang-toolchain clang-7))
 



reply via email to

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