guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23/45: gnu: make-clang-toolchain: Require explicit libomp.


From: guix-commits
Subject: 23/45: gnu: make-clang-toolchain: Require explicit libomp.
Date: Thu, 4 Aug 2022 06:07:09 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit c3c65ad1f93e3baaacfc93410c46d51e6f84a66d
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Wed Jul 20 15:09:11 2022 +0000

    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>
---
 gnu/packages/llvm.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 29fe7172a9..2d3ee79339 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]