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 <[email protected]>
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 <[email protected]>
;;; Copyright © 2015 Andreas Enge <[email protected]>
;;; Copyright © 2015 Mark H Weaver <[email protected]>
-;;; Copyright © 2016 Efraim Flashner <[email protected]>
+;;; Copyright © 2016, 2020 Efraim Flashner <[email protected]>
;;; Copyright © 2018 Tobias Geerinckx-Rice <[email protected]>
;;;
;;; 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)