GNU bug report logs -
#56666
[PATCH 00/17] Add libomp per clang-toolchain.
Previous Next
Reported by: Greg Hogan <code <at> greghogan.com>
Date: Wed, 20 Jul 2022 14:50:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/llvm.scm (libomp-7): New variable.
---
gnu/packages/llvm.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 2b7e711d35..f818894ab2 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -1111,6 +1111,22 @@ (define-public clang-7
"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))
--
2.37.0
This bug report was last modified 2 years and 287 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.