guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: icedove: Build with LLVM and clang.


From: guix-commits
Subject: branch master updated: gnu: icedove: Build with LLVM and clang.
Date: Sat, 22 Jan 2022 14:54:36 -0500

This is an automated email from the git hooks/post-receive script.

jonsger pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 811b9b050e gnu: icedove: Build with LLVM and clang.
811b9b050e is described below

commit 811b9b050ecc392e1e15c81089fba0924b0102ad
Author: Jonathan Brielmaier <jonathan.brielmaier@web.de>
AuthorDate: Mon Jan 17 17:03:50 2022 +0100

    gnu: icedove: Build with LLVM and clang.
    
    This improves the performance quite a bit.
    
    * gnu/packages/gnuzilla.scm (icedove)[arguments]: setenv's for LLVM and 
clang.
    [native-inputs]: Switch to version 11 of `clang` and `llvm` like Icecat
    does.
---
 gnu/packages/gnuzilla.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index cda41041f6..a9b5ed9fe9 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1472,7 +1472,12 @@ standards of the IceCat project.")
                        (string-append (getcwd) "/mach_state"))
                (setenv "MOZCONFIG"
                        (string-append (getcwd) "/.mozconfig"))
-               (setenv "CC" "gcc")
+
+               (setenv "AR" "llvm-ar")
+               (setenv "NM" "llvm-nm")
+               (setenv "CC" "clang")
+               (setenv "CXX" "clang++")
+
                (setenv "MOZ_NOSPAM" "1")
                (setenv "MACH_USE_SYSTEM_PYTHON" "1")
                (setenv "PYTHON"
@@ -1623,8 +1628,8 @@ standards of the IceCat project.")
               (base32
                "0aj8a8qbm71n34yi58y04bn4h9zz2rciz0cm3hh58rsmcqs1s9ym")))))
        ("cargo" ,rust "cargo")
-       ("clang" ,clang)
-       ("llvm" ,llvm)
+       ("clang" ,clang-11)
+       ("llvm" ,llvm-11)
        ("m4" ,m4)
        ("nasm" ,nasm)
        ("node" ,node)



reply via email to

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