[arch-commits] Commit in valgrind-multilib/repos (3 files)
Jelle van der Waa
jelle at archlinux.org
Thu Jun 15 14:08:55 UTC 2017
Date: Thursday, June 15, 2017 @ 14:08:55
Author: jelle
Revision: 237167
db-move: moved valgrind-multilib from [multilib-staging] to [multilib-testing] (x86_64)
Added:
valgrind-multilib/repos/multilib-testing-x86_64/
valgrind-multilib/repos/multilib-testing-x86_64/PKGBUILD
(from rev 237166, valgrind-multilib/repos/multilib-staging-x86_64/PKGBUILD)
Deleted:
valgrind-multilib/repos/multilib-staging-x86_64/
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: valgrind-multilib/repos/multilib-testing-x86_64/PKGBUILD (from rev 237166, valgrind-multilib/repos/multilib-staging-x86_64/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2017-06-15 14:08:55 UTC (rev 237167)
@@ -0,0 +1,36 @@
+# $Id$
+# Contributor: Dan McGee <dan at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+
+pkgname=valgrind-multilib
+pkgver=3.12.0
+pkgrel=3
+pkgdesc='A tool to help find memory-management problems in programs for multilib'
+arch=(x86_64)
+license=(GPL)
+url='http://valgrind.org/'
+depends=('glibc=2.25' 'lib32-glibc=2.25' 'perl')
+makedepends=(gdb openmpi gcc-multilib)
+optdepends=('openmpi: MPI support')
+options=(!emptydirs)
+source=(http://valgrind.org/downloads/valgrind-$pkgver.tar.bz2)
+sha1sums=('7a6878bf998c60d1e377a4f22ebece8d9305bda4')
+
+provides=("valgrind=$pkgver-$pkgrel")
+conflicts=('valgrind')
+
+build() {
+ # valgrind does not like stack protector flags
+ CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
+ CFLAGS=${CFLAGS/-fstack-protector-strong/}
+ CXXFLAGS=${CXXFLAGS/-fstack-protector-strong/}
+
+ cd valgrind-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man --with-mpicc=mpicc
+ make
+}
+
+package() {
+ cd valgrind-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list