[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/10: gnu: valgrind: Fix build on powerpc.
From: |
guix-commits |
Subject: |
06/10: gnu: valgrind: Fix build on powerpc. |
Date: |
Sat, 2 May 2020 13:20:44 -0400 (EDT) |
efraim pushed a commit to branch wip-ppc
in repository guix.
commit 19de07993b0f550fde7bd34fc845c2077c6580ce
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 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/valgrind.scm b/gnu/packages/valgrind.scm
index dd080bb..34ec1bd 100644
--- a/gnu/packages/valgrind.scm
+++ b/gnu/packages/valgrind.scm
@@ -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)
- branch wip-ppc created (now 7ceab40), guix-commits, 2020/05/02
- 02/10: FIXME: Downgrade glibc to 2.30., guix-commits, 2020/05/02
- 04/10: FIXME: allow reference to bootstrap-binaries in binutils-final, guix-commits, 2020/05/02
- 06/10: gnu: valgrind: Fix build on powerpc.,
guix-commits <=
- 08/10: gnu: elfutils: Skip tests on powerpc., guix-commits, 2020/05/02
- 09/10: gnu: gd: Fix tests., guix-commits, 2020/05/02
- 10/10: gnu: mesa: Add support for powerpc-linux., guix-commits, 2020/05/02
- 05/10: gnu: datefudge: Only use glibc-2.31 workaround on supported platforms., guix-commits, 2020/05/02
- 03/10: WIP add powerpc support, guix-commits, 2020/05/02
- 01/10: gnu: libffi: Fix building on powerpc., guix-commits, 2020/05/02
- 07/10: gnu: icu4c: Update to 67.1., guix-commits, 2020/05/02