guix-commits
[Top][All Lists]
Advanced

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

11/45: gnu: Add libomp-11.


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

civodul pushed a commit to branch master
in repository guix.

commit fdd5bf9fb79f747e082c3b3aba54d2227104b526
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Wed Jul 20 15:08:59 2022 +0000

    gnu: Add libomp-11.
    
    * gnu/packages/llvm.scm (libomp-11): 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 cb3d314375..b03ba264ef 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -909,6 +909,22 @@ with that of libgomp, the GNU Offloading and Multi 
Processing Library.")
                       (base32
                        
"02bcwwn54661madhq4nxc069s7p7pj5gpqi8ww50w3anbpviilzy")))))
 
+(define-public libomp-11
+  (package
+    (inherit libomp-12)
+    (version (package-version llvm-11))
+    (source (origin
+              (method url-fetch)
+              (uri (llvm-uri "openmp" version))
+              (sha256
+               (base32
+                "0k389d0g9zlfyzh1kpb3i5jdawzpn0hrdxzbjinpvdv7rbw4sw1d"))
+              (file-name (string-append "libomp-" version ".tar.xz"))))
+    (native-inputs
+     (modify-inputs (package-native-inputs libomp-12)
+       (replace "clang" clang-11)
+       (replace "llvm" llvm-11)))))
+
 (define-public clang-toolchain-11
   (make-clang-toolchain clang-11))
 



reply via email to

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