mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: Add libomp-7.
* gnu/packages/llvm.scm (libomp-7): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
79e9139478
commit
93c71314d3
1 changed files with 16 additions and 0 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue