aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2022-07-20 15:09:01 +0000
committerLudovic Courtès <ludo@gnu.org>2022-08-04 12:05:48 +0200
commit09d9b1ddae49d4b6f264fbd362047dd634761646 (patch)
tree96ab529a361a88bf272c23124041692640f4872e
parentae8de603512095e2baa0816d7fb86d117fbfe107 (diff)
downloadguix-09d9b1ddae49d4b6f264fbd362047dd634761646.tar.gz
guix-09d9b1ddae49d4b6f264fbd362047dd634761646.zip
gnu: Add libomp-10.
* gnu/packages/llvm.scm (libomp-10): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/llvm.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index f733a767c2..c0c0100f67 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -965,6 +965,22 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.")
(base32
"06n1yp638rh24xdxv9v2df0qajxbjz4w59b7dd4ky36drwmpi4yh")))))
+(define-public libomp-10
+ (package
+ (inherit libomp-11)
+ (version (package-version llvm-10))
+ (source (origin
+ (method url-fetch)
+ (uri (llvm-uri "openmp" version))
+ (sha256
+ (base32
+ "0i4bn84lkpm5w3qkpvwm5z6jdj8fynp7d3bcasa1xyq4is6757yi"))
+ (file-name (string-append "libomp-" version ".tar.xz"))))
+ (native-inputs
+ (modify-inputs (package-native-inputs libomp-11)
+ (replace "clang" clang-10)
+ (replace "llvm" llvm-10)))))
+
(define-public clang-toolchain-10
(make-clang-toolchain clang-10))