diff options
author | Greg Hogan <code@greghogan.com> | 2022-07-20 15:09:09 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-04 12:05:49 +0200 |
commit | d8ab469e95bd774234e754645d03f8b8e70216bd (patch) | |
tree | d5f2d477aeb97ac4fcd86962d3acee6d4d651aab | |
parent | d711e3922feb91b9bbf49b636384b53d7be43433 (diff) | |
download | guix-d8ab469e95bd774234e754645d03f8b8e70216bd.tar.gz guix-d8ab469e95bd774234e754645d03f8b8e70216bd.zip |
gnu: Add libomp-6.
* gnu/packages/llvm.scm (libomp-6): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/llvm.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 01bec7bac0..6f8cb7c9cd 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -1152,6 +1152,24 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.") "0rxn4rh7rrnsqbdgp4gzc8ishbkryhpl1kd3mpnxzpxxhla3y93w" #:patches '("clang-6.0-libc-search-path.patch"))) +(define-public libomp-6 + (package + (inherit libomp-7) + (version (package-version llvm-6)) + (source (origin + (method url-fetch) + (uri (string-append "https://releases.llvm.org/" + version "/openmp-" version + ".src.tar.xz")) + (sha256 + (base32 + "0nhwfba9c351r16zgyjyfwdayr98nairky3c2f0b2lc360mwmbv6")) + (file-name (string-append "libomp-" version ".tar.xz")))) + (native-inputs + (modify-inputs (package-native-inputs libomp-7) + (replace "clang" clang-6) + (replace "llvm" llvm-6))))) + (define-public clang-toolchain-6 (make-clang-toolchain clang-6)) |