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

Allan McRae allan at archlinux.org
Tue Mar 7 02:47:11 UTC 2017


    Date: Tuesday, March 7, 2017 @ 02:47:05
  Author: allan
Revision: 290077

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  valgrind/repos/staging-i686/
  valgrind/repos/staging-i686/PKGBUILD
    (from rev 290076, valgrind/trunk/PKGBUILD)
  valgrind/repos/staging-x86_64/
  valgrind/repos/staging-x86_64/PKGBUILD
    (from rev 290076, valgrind/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: valgrind/repos/staging-i686/PKGBUILD (from rev 290076, valgrind/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-03-07 02:47:05 UTC (rev 290077)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+pkgname=valgrind
+pkgver=3.12.0
+pkgrel=2
+pkgdesc='A tool to help find memory-management problems in programs'
+arch=(i686 x86_64)
+license=(GPL)
+url='http://valgrind.org/'
+depends=('glibc=2.25' 'perl')
+makedepends=(gdb openmpi)
+optdepends=('openmpi: MPI support')
+options=(!emptydirs)
+source=(http://valgrind.org/downloads/$pkgname-$pkgver.tar.bz2)
+sha1sums=('7a6878bf998c60d1e377a4f22ebece8d9305bda4')
+
+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 $pkgname-$pkgver
+  ./configure --prefix=/usr --mandir=/usr/share/man --with-mpicc=mpicc
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: valgrind/repos/staging-x86_64/PKGBUILD (from rev 290076, valgrind/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-03-07 02:47:05 UTC (rev 290077)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+pkgname=valgrind
+pkgver=3.12.0
+pkgrel=2
+pkgdesc='A tool to help find memory-management problems in programs'
+arch=(i686 x86_64)
+license=(GPL)
+url='http://valgrind.org/'
+depends=('glibc=2.25' 'perl')
+makedepends=(gdb openmpi)
+optdepends=('openmpi: MPI support')
+options=(!emptydirs)
+source=(http://valgrind.org/downloads/$pkgname-$pkgver.tar.bz2)
+sha1sums=('7a6878bf998c60d1e377a4f22ebece8d9305bda4')
+
+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 $pkgname-$pkgver
+  ./configure --prefix=/usr --mandir=/usr/share/man --with-mpicc=mpicc
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list