[arch-commits] Commit in valgrind-multilib/repos (2 files)

Jan Steffens heftig at archlinux.org
Wed Mar 8 18:59:58 UTC 2017


    Date: Wednesday, March 8, 2017 @ 18:59:58
  Author: heftig
Revision: 215320

archrelease: copy trunk to multilib-staging-x86_64

Added:
  valgrind-multilib/repos/multilib-staging-x86_64/
  valgrind-multilib/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 215319, valgrind-multilib/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: valgrind-multilib/repos/multilib-staging-x86_64/PKGBUILD (from rev 215319, valgrind-multilib/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2017-03-08 18:59:58 UTC (rev 215320)
@@ -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=2
+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