gnu: Add libomp-11.

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

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

View File

@ -909,6 +909,22 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.")
(base32
"02bcwwn54661madhq4nxc069s7p7pj5gpqi8ww50w3anbpviilzy")))))
(define-public libomp-11
(package
(inherit libomp-12)
(version (package-version llvm-11))
(source (origin
(method url-fetch)
(uri (llvm-uri "openmp" version))
(sha256
(base32
"0k389d0g9zlfyzh1kpb3i5jdawzpn0hrdxzbjinpvdv7rbw4sw1d"))
(file-name (string-append "libomp-" version ".tar.xz"))))
(native-inputs
(modify-inputs (package-native-inputs libomp-12)
(replace "clang" clang-11)
(replace "llvm" llvm-11)))))
(define-public clang-toolchain-11
(make-clang-toolchain clang-11))