gnu: Add libomp-10.

* gnu/packages/llvm.scm (libomp-10): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Greg Hogan 2022-07-20 15:09:01 +00:00 committed by Ludovic Courtès
parent ae8de60351
commit 09d9b1ddae
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -965,6 +965,22 @@ (define-public clang-10
(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))