aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2022-07-20 15:09:03 +0000
committerLudovic Courtès <ludo@gnu.org>2022-08-04 12:05:48 +0200
commit16d6a618fa69a1c4c2bb958727eff5598327de47 (patch)
treebdb6b08e2903778c8f391eea004c60f140af3813 /gnu/packages
parenta72bebf8f578931d042a3527906169a3b554441b (diff)
downloadguix-16d6a618fa69a1c4c2bb958727eff5598327de47.tar.gz
guix-16d6a618fa69a1c4c2bb958727eff5598327de47.zip
gnu: Add libomp-9.
* gnu/packages/llvm.scm (libomp-9): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-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 caa3e5e087..4232e88d4f 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -1026,6 +1026,22 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.")
"0ls2h3iv4finqyflyhry21qhc9cm9ga7g1zq21020p065qmm2y2p"
#:patches '("clang-9.0-libc-search-path.patch")))
+(define-public libomp-9
+ (package
+ (inherit libomp-10)
+ (version (package-version llvm-9))
+ (source (origin
+ (method url-fetch)
+ (uri (llvm-uri "openmp" version))
+ (sha256
+ (base32
+ "1knafnpp0f7hylx8q20lkd6g1sf0flly572dayc5d5kghh7hd52w"))
+ (file-name (string-append "libomp-" version ".tar.xz"))))
+ (native-inputs
+ (modify-inputs (package-native-inputs libomp-10)
+ (replace "clang" clang-9)
+ (replace "llvm" llvm-9)))))
+
(define-public clang-toolchain-9
(make-clang-toolchain clang-9))