[Replicant] [libsamsung-ipc][PATCH 01/10] scripts: guix.scm: use latest clang

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Sat Feb 13 13:17:40 UTC 2021


Without that, it will end up using clang-10 while we now have
clang-11.

This will make Guix build clang-10 which is time consuming.

Instead by using the latest clang we can use binary packages
(Guix calls that substitutes) of clang which speeds up the
build of libsamsung-ipc a lot, since most of the time we don't
need to build any dependencies.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 scripts/guix.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/guix.scm b/scripts/guix.scm
index ec7b25c..f020351 100644
--- a/scripts/guix.scm
+++ b/scripts/guix.scm
@@ -154,7 +154,7 @@ found in many Samsung smartphones and tablets.")
        ("pkgconfig" ,pkg-config)
        ("python" ,python)
        ("python-sh" ,python-sh)
-       ("clang" ,clang-10)))
+       ("clang" ,clang)))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
@@ -173,7 +173,7 @@ found in many Samsung smartphones and tablets.")
     (inputs
      `(("android-libutils" ,android-libutils)
        ("libcrypto" ,openssl)
-       ("clang" ,clang-10)))
+       ("clang" ,clang)))
     (native-inputs '())
     (arguments
      `(#:phases
-- 
2.30.1



More information about the Replicant mailing list