From fdd5bf9fb79f747e082c3b3aba54d2227104b526 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Wed, 20 Jul 2022 15:08:59 +0000 Subject: gnu: Add libomp-11. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/llvm.scm (libomp-11): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/llvm.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'gnu/packages/llvm.scm') diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index cb3d314375..b03ba264ef 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -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)) -- cgit 1.4.1