gnu: make-clang-toolchain: Require explicit libomp.

* 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.

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

View file

@ -485,7 +485,7 @@ (define (clang-properties version)
"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 @@ (define-public libomp-13
(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