[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56666] [PATCH 03/17] gnu: Add libomp-12.
From: |
Greg Hogan |
Subject: |
[bug#56666] [PATCH 03/17] gnu: Add libomp-12. |
Date: |
Wed, 20 Jul 2022 15:08:57 +0000 |
* gnu/packages/llvm.scm (libomp-12): New variable.
---
gnu/packages/llvm.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index faf4a42fd1..5896c0f3e4 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -855,6 +855,27 @@ (define-public clang-12
(base32
"1r9a4fdz9ci58b5z2inwvm4z4cdp6scrivnaw05dggkxz7yrwrb5")))))
+(define-public libomp-12
+ (package
+ (inherit libomp-13)
+ (version (package-version llvm-12))
+ (source (origin
+ (method url-fetch)
+ (uri (llvm-uri "openmp" version))
+ (sha256
+ (base32
+ "14dh0r6h2xh747ffgnsl4z08h0ri04azi9vf79cbz7ma1r27kzk0"))
+ (file-name (string-append "libomp-" version ".tar.xz"))))
+ (arguments
+ '(#:configure-flags '("-DLIBOMP_USE_HWLOC=ON"
+ "-DOPENMP_TEST_C_COMPILER=clang"
+ "-DOPENMP_TEST_CXX_COMPILER=clang++")
+ #:test-target "check-libomp"))
+ (native-inputs
+ (modify-inputs (package-native-inputs libomp-13)
+ (replace "clang" clang-12)
+ (replace "llvm" llvm-12)))))
+
(define-public clang-toolchain-12
(make-clang-toolchain clang-12))
--
2.37.0
- [bug#56666] [PATCH 00/17] Add libomp per clang-toolchain., Greg Hogan, 2022/07/20
- [bug#56666] [PATCH 02/17] gnu: libomp-13: Reference llvm-13 version string., Greg Hogan, 2022/07/20
- [bug#56666] [PATCH 03/17] gnu: Add libomp-12.,
Greg Hogan <=
- [bug#56666] [PATCH 12/17] gnu: clang-toolchain-8: Use libomp-8., Greg Hogan, 2022/07/20
- [bug#56666] [PATCH 04/17] gnu: clang-toolchain-12: Use libomp-12., Greg Hogan, 2022/07/20
- [bug#56666] [PATCH 07/17] gnu: Add libomp-10., Greg Hogan, 2022/07/20
- [bug#56666] [PATCH 16/17] gnu: clang-toolchain-6: Use libomp-6., Greg Hogan, 2022/07/20
- [bug#56666] [PATCH 09/17] gnu: Add libomp-9., Greg Hogan, 2022/07/20
- [bug#56666] [PATCH 08/17] gnu: clang-toolchain-10: Use libomp-10., Greg Hogan, 2022/07/20
- [bug#56666] [PATCH 10/17] gnu: clang-toolchain-9: Use libomp-9., Greg Hogan, 2022/07/20
- [bug#56666] [PATCH 05/17] gnu: Add libomp-11., Greg Hogan, 2022/07/20
- [bug#56666] [PATCH 01/17] gnu: libomp-14: Reference llvm-14 version string., Greg Hogan, 2022/07/20
- [bug#56666] [PATCH 06/17] gnu: clang-toolchain-11: Use libomp-11., Greg Hogan, 2022/07/20