aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2022-07-20 15:09:05 +0000
committerLudovic Courtès <ludo@gnu.org>2022-08-04 12:05:48 +0200
commitfe4683b2cf2997350ed9a1d351a27baf1e8d8d21 (patch)
tree614cae2a9e3dfb8be11a1113a3e91c5823fdf13f
parentcd5557e818f27fd68e61bd0a9d6a4e0f7e52b61e (diff)
downloadguix-fe4683b2cf2997350ed9a1d351a27baf1e8d8d21.tar.gz
guix-fe4683b2cf2997350ed9a1d351a27baf1e8d8d21.zip
gnu: Add libomp-8.
* gnu/packages/llvm.scm (libomp-8): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/llvm.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 47915dd20d..d139880501 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -1069,6 +1069,23 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.")
"0ihnbdl058gvl2wdy45p5am55bq8ifx8m9mhcsgj9ax8yxlzvvvh"
#:patches '("clang-8.0-libc-search-path.patch")))
+(define-public libomp-8
+ (package
+ (inherit libomp-9)
+ (version (package-version llvm-8))
+ (source (origin
+ (method url-fetch)
+ (uri (llvm-uri "openmp" version))
+ (sha256
+ (base32
+ "0b3jlxhqbpyd1nqkpxjfggm5d9va5qpyf7d4i5y7n4a1mlydv19y"))
+ (file-name (string-append "libomp-" version ".tar.xz"))))
+ (native-inputs
+ (modify-inputs (package-native-inputs libomp-9)
+ (replace "clang" clang-8)
+ (replace "llvm" llvm-8)))
+ (license license:ncsa)))
+
(define-public clang-toolchain-8
(make-clang-toolchain clang-8))