summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2022-07-20 15:09:11 +0000
committerGuix Patches Tester <>2022-07-20 16:14:40 +0100
commit9769b9a4adabdb3cda70b34e0489236011b61de7 (patch)
tree9b296cf7cd24221a999d505093e9b75f8e7a7d3c
parent46cd5fffc100262b7b138e6a28efced30e2265d5 (diff)
downloadguix-patches-9769b9a4adabdb3cda70b34e0489236011b61de7.tar
guix-patches-9769b9a4adabdb3cda70b34e0489236011b61de7.tar.gz
gnu: make-clang-toolchain: Require explicit libomp.issue-56666
* gnu/packages/llvm.scm (make-clang-toolchain): Remove default libomp parameter since each clang-toolchain has a matching libomp package. (clang-toolchain-13): Explicitly refer to libomp-13.
-rw-r--r--gnu/packages/llvm.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 76d2ff4f84..4606cccc2a 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -485,7 +485,7 @@ code analysis tools.")
"znver3")
'())))))
-(define* (make-clang-toolchain clang #:optional (libomp libomp-13))
+(define (make-clang-toolchain clang libomp)
(package
(name (string-append (package-name clang) "-toolchain"))
(version (package-version clang))
@@ -767,7 +767,7 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.")
(replace "llvm" llvm-13)))))
(define-public clang-toolchain-13
- (make-clang-toolchain clang-13))
+ (make-clang-toolchain clang-13 libomp-13))
(define-public llvm-12
(package