guix-commits
[Top][All Lists]
Advanced

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

branch wip-ppc updated: gnu: valgrind: Fix build on powerpc.


From: guix-commits
Subject: branch wip-ppc updated: gnu: valgrind: Fix build on powerpc.
Date: Tue, 28 Apr 2020 14:29:50 -0400

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

efraim pushed a commit to branch wip-ppc
in repository guix.

The following commit(s) were added to refs/heads/wip-ppc by this push:
     new 7cf2152  gnu: valgrind: Fix build on powerpc.
7cf2152 is described below

commit 7cf2152d90c4225ea217c98ff9f5519d3c212486
Author: Efraim Flashner <address@hidden>
AuthorDate: Tue Apr 28 21:25:51 2020 +0300

    gnu: valgrind: Fix build on powerpc.
    
    * gnu/packages/valgrind.scm (valgrind)[arguments]: Add make-flags for
    CPU optimizations when building on powerpc.
---
 gnu/packages/valgrind.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/valgrind.scm b/gnu/packages/valgrind.scm
index da912dc..aabb068 100644
--- a/gnu/packages/valgrind.scm
+++ b/gnu/packages/valgrind.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2013, 2014 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2015 Andreas Enge <address@hidden>
 ;;; Copyright © 2015 Mark H Weaver <address@hidden>
-;;; Copyright © 2016 Efraim Flashner <address@hidden>
+;;; Copyright © 2016, 2020 Efraim Flashner <address@hidden>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -47,7 +47,10 @@
     (outputs '("doc"                              ;16 MB
                "out"))
     (arguments
-     '(#:phases
+     `(,@(if (string-prefix? "powerpc" (%current-system))
+           `(#:make-flags '("CFLAGS+=-maltivec"))
+           '())
+       #:phases
        (modify-phases %standard-phases
          (add-after 'install 'patch-suppression-files
            (lambda* (#:key outputs #:allow-other-keys)



reply via email to

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