[arch-commits] Commit in openmpi/repos (6 files)

2017-06-09 Thread Anatol Pomozov
Date: Friday, June 9, 2017 @ 14:03:23
  Author: anatolik
Revision: 298488

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

Added:
  openmpi/repos/staging-i686/
  openmpi/repos/staging-i686/PKGBUILD
(from rev 298487, openmpi/trunk/PKGBUILD)
  openmpi/repos/staging-i686/system_ltdl.patch
(from rev 298487, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/staging-x86_64/
  openmpi/repos/staging-x86_64/PKGBUILD
(from rev 298487, openmpi/trunk/PKGBUILD)
  openmpi/repos/staging-x86_64/system_ltdl.patch
(from rev 298487, openmpi/trunk/system_ltdl.patch)

--+
 staging-i686/PKGBUILD|   63 +++
 staging-i686/system_ltdl.patch   |   66 +
 staging-x86_64/PKGBUILD  |   63 +++
 staging-x86_64/system_ltdl.patch |   66 +
 4 files changed, 258 insertions(+)

Copied: openmpi/repos/staging-i686/PKGBUILD (from rev 298487, 
openmpi/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-06-09 14:03:23 UTC (rev 298488)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+# Contributor: Stéphane Gaudreault 
+
+pkgname=openmpi
+pkgver=2.1.1
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('3aaee35c17b6ef02f4cee274f2670d5b7b2c968a')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-mpi-thread-multiple \
+   --enable-smp-locks \
+   --enable-builtin-atomics \
+   --enable-mpi-cxx \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR="$pkgdir" install
+
+   # FS#28583
+   install -d -m 755 "$pkgdir"/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i "$pkgdir"/usr/lib/pkgconfig/
+   done
+
+   install -d -m 755 "$pkgdir"/etc/ld.so.conf.d
+   echo "/usr/lib/$pkgname" > "$pkgdir"/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/staging-i686/system_ltdl.patch (from rev 298487, 
openmpi/trunk/system_ltdl.patch)
===
--- staging-i686/system_ltdl.patch  (rev 0)
+++ staging-i686/system_ltdl.patch  2017-06-09 14:03:23 UTC (rev 298488)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include 
+ #include 
+ 
+-#include "opal/libltdl/ltdl.h"
++#include "ltdl.h"
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 b/test/support/components.c
+@@ -24,7 +24,7 @@
+ 
+ #include "opal/constants.h"
+ #include "opal/mca/mca.h"
+-#include 

[arch-commits] Commit in openmpi/repos (6 files)

2017-05-15 Thread Bartłomiej Piotrowski
Date: Monday, May 15, 2017 @ 21:00:09
  Author: bpiotrowski
Revision: 296152

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 296151, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 296151, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 296151, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 296151, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/system_ltdl.patch   |   66 
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 296151, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-05-15 21:00:09 UTC (rev 296152)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+# Contributor: Stéphane Gaudreault 
+
+pkgname=openmpi
+pkgver=1.10.6
+pkgrel=2
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('cbb3121d30869ee89b5484af274b6b477d8ac72f')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR="$pkgdir" install
+
+   # FS#28583
+   install -d -m 755 "$pkgdir"/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i "$pkgdir"/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv "$pkgdir"/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm "$pkgdir"/usr/share/vampirtrace/config.log
+
+   install -d -m 755 "$pkgdir"/etc/ld.so.conf.d
+   echo "/usr/lib/$pkgname" > "$pkgdir"/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 296151, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2017-05-15 21:00:09 UTC (rev 296152)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include 
+ #include 
+ 
+-#include "opal/libltdl/ltdl.h"
++#include "ltdl.h"
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2017-02-21 Thread Anatol Pomozov
Date: Tuesday, February 21, 2017 @ 18:47:58
  Author: anatolik
Revision: 289366

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 289365, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 289365, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 289365, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 289365, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/system_ltdl.patch   |   66 
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 289365, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-02-21 18:47:58 UTC (rev 289366)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+# Contributor: Stéphane Gaudreault 
+
+pkgname=openmpi
+pkgver=1.10.6
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('cbb3121d30869ee89b5484af274b6b477d8ac72f')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR="$pkgdir" install
+
+   # FS#28583
+   install -d -m 755 "$pkgdir"/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i "$pkgdir"/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv "$pkgdir"/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm "$pkgdir"/usr/share/vampirtrace/config.log
+
+   install -d -m 755 "$pkgdir"/etc/ld.so.conf.d
+   echo "/usr/lib/$pkgname" > "$pkgdir"/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 289365, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2017-02-21 18:47:58 UTC (rev 289366)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include 
+ #include 
+ 
+-#include "opal/libltdl/ltdl.h"
++#include "ltdl.h"
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2016-12-20 Thread Anatol Pomozov
Date: Tuesday, December 20, 2016 @ 21:02:19
  Author: anatolik
Revision: 284354

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 284353, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 284353, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 284353, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 284353, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/system_ltdl.patch   |   66 
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 284353, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-12-20 21:02:19 UTC (rev 284354)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+# Contributor: Stéphane Gaudreault 
+
+pkgname=openmpi
+pkgver=1.10.5
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('cd71fd477c5813dbbfe5a6b0bcb34724ae921ddb')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR="$pkgdir" install
+
+   # FS#28583
+   install -d -m 755 "$pkgdir"/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i "$pkgdir"/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv "$pkgdir"/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm "$pkgdir"/usr/share/vampirtrace/config.log
+
+   install -d -m 755 "$pkgdir"/etc/ld.so.conf.d
+   echo "/usr/lib/$pkgname" > "$pkgdir"/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 284353, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2016-12-20 21:02:19 UTC (rev 284354)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include 
+ #include 
+ 
+-#include "opal/libltdl/ltdl.h"
++#include "ltdl.h"
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2016-09-02 Thread Anatol Pomozov
Date: Friday, September 2, 2016 @ 21:38:13
  Author: anatolik
Revision: 275693

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 275691, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 275691, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 275691, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 275691, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/system_ltdl.patch   |   66 
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 275691, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-09-02 21:38:13 UTC (rev 275693)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+# Contributor: Stéphane Gaudreault 
+
+pkgname=openmpi
+pkgver=1.10.4
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('1676a7da6cc8cde1d46f6296f38d575249b46cd9')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR="$pkgdir" install
+
+   # FS#28583
+   install -d -m 755 "$pkgdir"/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i "$pkgdir"/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv "$pkgdir"/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm "$pkgdir"/usr/share/vampirtrace/config.log
+
+   install -d -m 755 "$pkgdir"/etc/ld.so.conf.d
+   echo "/usr/lib/$pkgname" > "$pkgdir"/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 275691, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2016-09-02 21:38:13 UTC (rev 275693)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include 
+ #include 
+ 
+-#include "opal/libltdl/ltdl.h"
++#include "ltdl.h"
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2016-06-16 Thread Anatol Pomozov
Date: Thursday, June 16, 2016 @ 16:19:48
  Author: anatolik
Revision: 270021

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 270020, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 270020, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 270020, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 270020, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/system_ltdl.patch   |   66 
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 270020, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-06-16 16:19:48 UTC (rev 270021)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+# Contributor: Stéphane Gaudreault 
+
+pkgname=openmpi
+pkgver=1.10.3
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('a3355a5c1c96cf9298ef48061d9db8c2fbd014ea')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR="$pkgdir" install
+
+   # FS#28583
+   install -d -m 755 "$pkgdir"/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i "$pkgdir"/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv "$pkgdir"/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm "$pkgdir"/usr/share/vampirtrace/config.log
+
+   install -d -m 755 "$pkgdir"/etc/ld.so.conf.d
+   echo "/usr/lib/$pkgname" > "$pkgdir"/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 270020, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2016-06-16 16:19:48 UTC (rev 270021)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include 
+ #include 
+ 
+-#include "opal/libltdl/ltdl.h"
++#include "ltdl.h"
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2016-01-21 Thread Anatol Pomozov
Date: Thursday, January 21, 2016 @ 20:04:23
  Author: anatolik
Revision: 258493

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 258492, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 258492, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 258492, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 258492, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/system_ltdl.patch   |   66 
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 258492, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-01-21 19:04:23 UTC (rev 258493)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+# Contributor: Stéphane Gaudreault 
+
+pkgname=openmpi
+pkgver=1.10.2
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('03934fc0a2dd0d0d2d0459d714a976eabca938fb')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR="$pkgdir" install
+
+   # FS#28583
+   install -d -m 755 "$pkgdir"/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i "$pkgdir"/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv "$pkgdir"/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm "$pkgdir"/usr/share/vampirtrace/config.log
+
+   install -d -m 755 "$pkgdir"/etc/ld.so.conf.d
+   echo "/usr/lib/$pkgname" > "$pkgdir"/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 258492, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2016-01-21 19:04:23 UTC (rev 258493)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include 
+ #include 
+ 
+-#include "opal/libltdl/ltdl.h"
++#include "ltdl.h"
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2015-12-06 Thread Florian Pritz
Date: Sunday, December 6, 2015 @ 11:00:23
  Author: bluewind
Revision: 252710

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

Added:
  openmpi/repos/staging-i686/
  openmpi/repos/staging-i686/PKGBUILD
(from rev 252708, openmpi/trunk/PKGBUILD)
  openmpi/repos/staging-i686/system_ltdl.patch
(from rev 252708, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/staging-x86_64/
  openmpi/repos/staging-x86_64/PKGBUILD
(from rev 252709, openmpi/trunk/PKGBUILD)
  openmpi/repos/staging-x86_64/system_ltdl.patch
(from rev 252709, openmpi/trunk/system_ltdl.patch)

--+
 staging-i686/PKGBUILD|   67 +
 staging-i686/system_ltdl.patch   |   66 
 staging-x86_64/PKGBUILD  |   67 +
 staging-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/staging-i686/PKGBUILD (from rev 252708, 
openmpi/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-12-06 10:00:23 UTC (rev 252710)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+# Contributor: Stéphane Gaudreault 
+
+pkgname=openmpi
+pkgver=1.10.1
+pkgrel=2
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('caf6885f323a38b9c106a7815711313843409478')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR="$pkgdir" install
+
+   # FS#28583
+   install -d -m 755 "$pkgdir"/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i "$pkgdir"/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv "$pkgdir"/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm "$pkgdir"/usr/share/vampirtrace/config.log
+
+   install -d -m 755 "$pkgdir"/etc/ld.so.conf.d
+   echo "/usr/lib/$pkgname" > "$pkgdir"/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/staging-i686/system_ltdl.patch (from rev 252708, 
openmpi/trunk/system_ltdl.patch)
===
--- staging-i686/system_ltdl.patch  (rev 0)
+++ staging-i686/system_ltdl.patch  2015-12-06 10:00:23 UTC (rev 252710)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include 
+ #include 
+ 
+-#include "opal/libltdl/ltdl.h"
++#include "ltdl.h"
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2015-11-04 Thread Anatol Pomozov
Date: Wednesday, November 4, 2015 @ 20:19:37
  Author: anatolik
Revision: 250109

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 250108, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 250108, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 250108, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 250108, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/system_ltdl.patch   |   66 
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 250108, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-11-04 19:19:37 UTC (rev 250109)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+# Contributor: Stéphane Gaudreault 
+
+pkgname=openmpi
+pkgver=1.10.1
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('caf6885f323a38b9c106a7815711313843409478')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR="$pkgdir" install
+
+   # FS#28583
+   install -d -m 755 "$pkgdir"/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i "$pkgdir"/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv "$pkgdir"/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm "$pkgdir"/usr/share/vampirtrace/config.log
+
+   install -d -m 755 "$pkgdir"/etc/ld.so.conf.d
+   echo "/usr/lib/$pkgname" > "$pkgdir"/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 250108, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2015-11-04 19:19:37 UTC (rev 250109)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include 
+ #include 
+ 
+-#include "opal/libltdl/ltdl.h"
++#include "ltdl.h"
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2015-08-25 Thread Anatol Pomozov
Date: Wednesday, August 26, 2015 @ 00:32:30
  Author: anatolik
Revision: 244859

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

Added:
  openmpi/repos/staging-i686/
  openmpi/repos/staging-i686/PKGBUILD
(from rev 244858, openmpi/trunk/PKGBUILD)
  openmpi/repos/staging-i686/system_ltdl.patch
(from rev 244858, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/staging-x86_64/
  openmpi/repos/staging-x86_64/PKGBUILD
(from rev 244858, openmpi/trunk/PKGBUILD)
  openmpi/repos/staging-x86_64/system_ltdl.patch
(from rev 244858, openmpi/trunk/system_ltdl.patch)

--+
 staging-i686/PKGBUILD|   67 +
 staging-i686/system_ltdl.patch   |   66 
 staging-x86_64/PKGBUILD  |   67 +
 staging-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/staging-i686/PKGBUILD (from rev 244858, 
openmpi/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-08-25 22:32:30 UTC (rev 244859)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov anatol dot pomozov at gmail
+# Contributor: Stéphane Gaudreault steph...@archlinux.org
+
+pkgname=openmpi
+pkgver=1.10.0
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('683fecac252a6139fbf538188d8b35454425c412')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR=$pkgdir install
+
+   # FS#28583
+   install -d -m 755 $pkgdir/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i $pkgdir/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv $pkgdir/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm $pkgdir/usr/share/vampirtrace/config.log
+
+   install -d -m 755 $pkgdir/etc/ld.so.conf.d
+   echo /usr/lib/$pkgname  $pkgdir/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/staging-i686/system_ltdl.patch (from rev 244858, 
openmpi/trunk/system_ltdl.patch)
===
--- staging-i686/system_ltdl.patch  (rev 0)
+++ staging-i686/system_ltdl.patch  2015-08-25 22:32:30 UTC (rev 244859)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include string.h
+ #include stdlib.h
+ 
+-#include opal/libltdl/ltdl.h
++#include ltdl.h
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2015-08-05 Thread Anatol Pomozov
Date: Wednesday, August 5, 2015 @ 19:27:45
  Author: anatolik
Revision: 243050

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 243049, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 243049, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 243049, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 243049, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/system_ltdl.patch   |   66 
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 243049, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-08-05 17:27:45 UTC (rev 243050)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov anatol dot pomozov at gmail
+# Contributor: Stéphane Gaudreault steph...@archlinux.org
+
+pkgname=openmpi
+pkgver=1.8.8
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v1.8/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('0c9cc2ad1ee73838bed1a445793e36671d631447')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR=$pkgdir install
+
+   # FS#28583
+   install -d -m 755 $pkgdir/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i $pkgdir/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv $pkgdir/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm $pkgdir/usr/share/vampirtrace/config.log
+
+   install -d -m 755 $pkgdir/etc/ld.so.conf.d
+   echo /usr/lib/$pkgname  $pkgdir/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 243049, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2015-08-05 17:27:45 UTC (rev 243050)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include string.h
+ #include stdlib.h
+ 
+-#include opal/libltdl/ltdl.h
++#include ltdl.h
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2015-07-15 Thread Anatol Pomozov
Date: Thursday, July 16, 2015 @ 02:03:21
  Author: anatolik
Revision: 242265

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 242264, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 242264, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 242264, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 242264, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/system_ltdl.patch   |   66 
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 242264, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-07-16 00:03:21 UTC (rev 242265)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov anatol dot pomozov at gmail
+# Contributor: Stéphane Gaudreault steph...@archlinux.org
+
+pkgname=openmpi
+pkgver=1.8.7
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v1.8/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('4526e2ec83792cff8990acf7fd13b64e8440a5cd')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR=$pkgdir install
+
+   # FS#28583
+   install -d -m 755 $pkgdir/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i $pkgdir/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv $pkgdir/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm $pkgdir/usr/share/vampirtrace/config.log
+
+   install -d -m 755 $pkgdir/etc/ld.so.conf.d
+   echo /usr/lib/$pkgname  $pkgdir/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 242264, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2015-07-16 00:03:21 UTC (rev 242265)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include string.h
+ #include stdlib.h
+ 
+-#include opal/libltdl/ltdl.h
++#include ltdl.h
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2015-06-20 Thread Anatol Pomozov
Date: Sunday, June 21, 2015 @ 04:46:44
  Author: anatolik
Revision: 241148

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 241147, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 241147, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 241147, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 241147, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/system_ltdl.patch   |   66 
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 241147, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-06-21 02:46:44 UTC (rev 241148)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov anatol dot pomozov at gmail
+# Contributor: Stéphane Gaudreault steph...@archlinux.org
+
+pkgname=openmpi
+pkgver=1.8.6
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v1.8/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('781330b24e6656143ae3252f088a04b91411554b')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR=$pkgdir install
+
+   # FS#28583
+   install -d -m 755 $pkgdir/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i $pkgdir/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv $pkgdir/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm $pkgdir/usr/share/vampirtrace/config.log
+
+   install -d -m 755 $pkgdir/etc/ld.so.conf.d
+   echo /usr/lib/$pkgname  $pkgdir/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 241147, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2015-06-21 02:46:44 UTC (rev 241148)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include string.h
+ #include stdlib.h
+ 
+-#include opal/libltdl/ltdl.h
++#include ltdl.h
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2015-05-05 Thread Anatol Pomozov
Date: Wednesday, May 6, 2015 @ 00:08:39
  Author: anatolik
Revision: 238520

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 238519, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 238519, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 238519, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 238519, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   67 +
 testing-i686/system_ltdl.patch   |   66 
 testing-x86_64/PKGBUILD  |   67 +
 testing-x86_64/system_ltdl.patch |   66 
 4 files changed, 266 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 238519, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-05-05 22:08:39 UTC (rev 238520)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Anatol Pomozov anatol dot pomozov at gmail
+# Contributor: Stéphane Gaudreault steph...@archlinux.org
+
+pkgname=openmpi
+pkgver=1.8.5
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v1.8/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('2e0408dbb033b0df21d1f95fffb872f2a8237de6')
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./autogen.pl
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR=$pkgdir install
+
+   # FS#28583
+   install -d -m 755 $pkgdir/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i $pkgdir/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv $pkgdir/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm $pkgdir/usr/share/vampirtrace/config.log
+
+   install -d -m 755 $pkgdir/etc/ld.so.conf.d
+   echo /usr/lib/$pkgname  $pkgdir/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 238519, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2015-05-05 22:08:39 UTC (rev 238520)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include string.h
+ #include stdlib.h
+ 
+-#include opal/libltdl/ltdl.h
++#include ltdl.h
+ 
+ static int do_test(void);
+ 
+diff --git a/test/support/components.c b/test/support/components.c
+index 41c4345..6b4b464 100644
+--- a/test/support/components.c
 

[arch-commits] Commit in openmpi/repos (6 files)

2014-12-20 Thread Anatol Pomozov
Date: Sunday, December 21, 2014 @ 03:10:14
  Author: anatolik
Revision: 227850

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 227849, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 227849, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 227849, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 227849, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   77 +
 testing-i686/system_ltdl.patch   |   66 +++
 testing-x86_64/PKGBUILD  |   77 +
 testing-x86_64/system_ltdl.patch |   66 +++
 4 files changed, 286 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 227849, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-12-21 02:10:14 UTC (rev 227850)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Anatol Pomozov anatol dot pomozov at gmail
+# Contributor: Stéphane Gaudreault steph...@archlinux.org
+
+pkgname=openmpi
+pkgver=1.8.4
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v1.8/downloads/${pkgname}-${pkgver}.tar.bz2
+system_ltdl.patch)
+sha1sums=('88ae39850fcf0db05ac20e35dd9e4cacc75bde4d'
+  'd5f8a3d463f1a1f29ca4725d6fb3b9f8c40799dc')
+
+prepare() {
+   cd $pkgname-$pkgver
+
+   # Make sure we use the system ltdl library rather than the ones in the 
tarball
+   rm -r opal/libltdl
+   patch -p1  ../system_ltdl.patch
+   ./autogen.pl
+}
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR=$pkgdir install
+
+   # FS#28583
+   install -d -m 755 $pkgdir/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i $pkgdir/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv $pkgdir/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm $pkgdir/usr/share/vampirtrace/config.log
+
+   install -d -m 755 $pkgdir/etc/ld.so.conf.d
+   echo /usr/lib/$pkgname  $pkgdir/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 227849, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2014-12-21 02:10:14 UTC (rev 227850)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include string.h
+ 

[arch-commits] Commit in openmpi/repos (6 files)

2014-09-28 Thread Anatol Pomozov
Date: Sunday, September 28, 2014 @ 17:57:03
  Author: anatolik
Revision: 223653

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 223652, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/system_ltdl.patch
(from rev 223652, openmpi/trunk/system_ltdl.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 223652, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/system_ltdl.patch
(from rev 223652, openmpi/trunk/system_ltdl.patch)

--+
 testing-i686/PKGBUILD|   77 +
 testing-i686/system_ltdl.patch   |   66 +++
 testing-x86_64/PKGBUILD  |   77 +
 testing-x86_64/system_ltdl.patch |   66 +++
 4 files changed, 286 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 223652, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-09-28 15:57:03 UTC (rev 223653)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Anatol Pomozov anatol dot pomozov at gmail
+# Contributor: Stéphane Gaudreault steph...@archlinux.org
+
+pkgname=openmpi
+pkgver=1.8.3
+pkgrel=1
+pkgdesc='High performance message passing library (MPI)'
+arch=(i686 x86_64)
+url='http://www.open-mpi.org'
+license=(custom)
+depends=(libltdl hwloc)
+makedepends=(inetutils valgrind gcc-fortran)
+optdepends=('gcc-fortran: fortran support')
+options=(staticlibs)
+source=(http://www.open-mpi.org/software/ompi/v1.8/downloads/${pkgname}-${pkgver}.tar.bz2
+system_ltdl.patch)
+sha1sums=('4be9c5d2a8baee6a80bde94c6485931979a428fe'
+  'd5f8a3d463f1a1f29ca4725d6fb3b9f8c40799dc')
+
+prepare() {
+   cd $pkgname-$pkgver
+
+   # Make sure we use the system ltdl library rather than the ones in the 
tarball
+   rm -r opal/libltdl
+   patch -p1  ../system_ltdl.patch
+   ./autogen.pl
+}
+
+build() {
+   cd $pkgname-$pkgver
+
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --enable-mpi-fortran=all \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
+
+   make
+}
+
+check() {
+   cd $pkgname-$pkgver
+
+   make check
+}
+
+package() {
+   cd $pkgname-$pkgver
+   make DESTDIR=$pkgdir install
+
+   # FS#28583
+   install -d -m 755 $pkgdir/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i $pkgdir/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv $pkgdir/usr/bin/otfinfo{,mpi}
+
+   # Remove dangling symlink and useless file
+   rm $pkgdir/usr/share/vampirtrace/config.log
+
+   install -d -m 755 $pkgdir/etc/ld.so.conf.d
+   echo /usr/lib/$pkgname  $pkgdir/etc/ld.so.conf.d/$pkgname.conf
+
+   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}

Copied: openmpi/repos/testing-i686/system_ltdl.patch (from rev 223652, 
openmpi/trunk/system_ltdl.patch)
===
--- testing-i686/system_ltdl.patch  (rev 0)
+++ testing-i686/system_ltdl.patch  2014-09-28 15:57:03 UTC (rev 223653)
@@ -0,0 +1,66 @@
+diff --git a/config/ltdl.m4 b/config/ltdl.m4
+index ea76f4d..2f1cbfe 100644
+--- a/config/ltdl.m4
 b/config/ltdl.m4
+@@ -162,6 +162,8 @@ m4_defun([_LTDL_INSTALLABLE],
+   fi
+ fi
+ 
++enable_ltdl_install=no
++
+ # If configure.ac declared an installable ltdl, and the user didn't override
+ # with --disable-ltdl-install, we will install the shipped libltdl.
+ case $enable_ltdl_install in
+diff --git a/ompi/debuggers/Makefile.am b/ompi/debuggers/Makefile.am
+index 2adf3fd..5b22a91 100644
+--- a/ompi/debuggers/Makefile.am
 b/ompi/debuggers/Makefile.am
+@@ -46,8 +46,7 @@ headers = \
+ # Simple checks to ensure that the DSOs are functional
+ 
+ dlopen_test_SOURCES = dlopen_test.c
+-dlopen_test_CPPFLAGS = -I$(top_srcdir)/opal/libltdl
+-dlopen_test_LDADD = $(top_builddir)/opal/libltdl/libltdlc.la
++dlopen_test_LDADD = -lltdl
+ 
+ predefined_gap_test_SOURCES = predefined_gap_test.c
+ predefined_gap_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
+diff --git a/ompi/debuggers/dlopen_test.c b/ompi/debuggers/dlopen_test.c
+index 029a4ee..023afb8 100644
+--- a/ompi/debuggers/dlopen_test.c
 b/ompi/debuggers/dlopen_test.c
+@@ -13,7 +13,7 @@
+ #include string.h

[arch-commits] Commit in openmpi/repos (6 files)

2012-10-01 Thread Stéphane Gaudreault
Date: Monday, October 1, 2012 @ 20:13:37
  Author: stephane
Revision: 167415

db-move: moved openmpi from [testing] to [extra] (i686, x86_64)

Added:
  openmpi/repos/extra-i686/PKGBUILD
(from rev 167414, openmpi/repos/testing-i686/PKGBUILD)
  openmpi/repos/extra-x86_64/PKGBUILD
(from rev 167414, openmpi/repos/testing-x86_64/PKGBUILD)
Deleted:
  openmpi/repos/extra-i686/PKGBUILD
  openmpi/repos/extra-x86_64/PKGBUILD
  openmpi/repos/testing-i686/
  openmpi/repos/testing-x86_64/

---+
 extra-i686/PKGBUILD   |  130 
 extra-x86_64/PKGBUILD |  130 
 2 files changed, 130 insertions(+), 130 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2012-10-01 23:46:18 UTC (rev 167414)
+++ extra-i686/PKGBUILD 2012-10-02 00:13:37 UTC (rev 167415)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Stéphane Gaudreault steph...@archlinux.org
-pkgname=openmpi
-pkgver=1.6.1
-pkgrel=1
-pkgdesc=High performance message passing library (MPI)
-arch=('i686' 'x86_64')
-url=http://www.open-mpi.org;
-license=('custom')
-depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc')
-makedepends=('inetutils')
-options=(!libtool)
-source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('1ccff71e3775c80c5a553f30104d663e1226baab')
-
-build() {
-   cd ${srcdir}/${pkgname}-${pkgver}
-
-   # Make sure we use the system ltdl librariry rather than the ones in the 
tarball
-   rm -r opal/libltdl
-
-   ./configure --prefix=/usr \
-   --sysconfdir=/etc/${pkgname} \
-   --mandir=/usr/share/man \
-   --enable-mpi-f90 \
-   --libdir=/usr/lib/${pkgname} \
-   --with-threads=posix \
-   --enable-smp-locks \
-   --with-valgrind \
-   --enable-memchecker \
-   --enable-debug \
-   --enable-pretty-print-stacktrace \
-   --without-slurm \
-   --with-hwloc=/usr \
-   --with-libltdl=/usr  \
-   FC=/usr/bin/gfortran \
-   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
-
-   make
-}
-
-package() {
-   cd ${srcdir}/${pkgname}-${pkgver}
-   make DESTDIR=${pkgdir} install
-
-   # FS#28583
-   install -d -m 755 ${pkgdir}/usr/lib/pkgconfig
-   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
-  ln -sf /usr/lib/openmpi/pkgconfig/${i} ${pkgdir}/usr/lib/pkgconfig/
-   done
-
-   # Openmpi's otfinfo conflicts with the one from texlive
-   mv ${pkgdir}/usr/bin/otfinfo{,mpi}
-
-   # Openmpi's otfdump conflicts with the one from libotf
-   mv ${pkgdir}/usr/bin/otfdump{,ompi}
-
-   # Remove dangling symlink
-   rm ${pkgdir}/usr/share/man/man1/orteCC.1
-
-   install -d -m 755 ${pkgdir}/etc/ld.so.conf.d
-   echo /usr/lib/${pkgname}  ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf
-
-   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: openmpi/repos/extra-i686/PKGBUILD (from rev 167414, 
openmpi/repos/testing-i686/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-10-02 00:13:37 UTC (rev 167415)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault steph...@archlinux.org
+pkgname=openmpi
+pkgver=1.6.2
+pkgrel=1
+pkgdesc=High performance message passing library (MPI)
+arch=('i686' 'x86_64')
+url=http://www.open-mpi.org;
+license=('custom')
+depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc')
+makedepends=('inetutils')
+options=(!libtool)
+source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('694fd3bac911cdb22f77175884d819b6fea871df')
+
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   # Make sure we use the system ltdl librariry rather than the ones in the 
tarball
+   rm -r opal/libltdl
+
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --mandir=/usr/share/man \
+   --enable-mpi-f90 \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-debug \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
+
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+   make DESTDIR=${pkgdir} install
+
+   # FS#28583
+   install -d -m 755 ${pkgdir}/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/${i} ${pkgdir}/usr/lib/pkgconfig/
+   done
+
+   # 

[arch-commits] Commit in openmpi/repos (6 files)

2012-05-17 Thread Stéphane Gaudreault
Date: Thursday, May 17, 2012 @ 20:00:13
  Author: stephane
Revision: 159205

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

Added:
  openmpi/repos/testing-i686/PKGBUILD
(from rev 159204, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/openmpi-hostfile.patch
(from rev 159204, openmpi/trunk/openmpi-hostfile.patch)
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 159204, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/openmpi-hostfile.patch
(from rev 159204, openmpi/trunk/openmpi-hostfile.patch)
Deleted:
  openmpi/repos/testing-i686/PKGBUILD
  openmpi/repos/testing-x86_64/PKGBUILD

---+
 testing-i686/PKGBUILD |  138 
 testing-i686/openmpi-hostfile.patch   |   12 ++
 testing-x86_64/PKGBUILD   |  138 
 testing-x86_64/openmpi-hostfile.patch |   12 ++
 4 files changed, 164 insertions(+), 136 deletions(-)

Deleted: testing-i686/PKGBUILD
===
--- testing-i686/PKGBUILD   2012-05-18 00:00:03 UTC (rev 159204)
+++ testing-i686/PKGBUILD   2012-05-18 00:00:13 UTC (rev 159205)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Stéphane Gaudreault steph...@archlinux.org
-pkgname=openmpi
-pkgver=1.6
-pkgrel=1
-pkgdesc=High performance message passing library (MPI)
-arch=('i686' 'x86_64')
-url=http://www.open-mpi.org;
-license=('custom')
-depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc')
-makedepends=('inetutils')
-options=(!libtool)
-source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('8b81eea712bb8f8120468003b5f29baecedf2367')
-
-build() {
-   cd ${srcdir}/${pkgname}-${pkgver}
-
-   # Make sure we use the system ltdl librariry rather than the ones in the 
tarball
-   rm -r opal/libltdl
-
-   # Search for openmpi-default-hostfile in /etc/openmpi
-   sed -i 
s|%s/etc/openmpi-default-hostfile|/etc/openmpi/openmpi-default-hostfile| 
orte/runtime/orte_mca_params.c
-
-   ./configure --prefix=/usr \
-   --sysconfdir=/etc/${pkgname} \
-   --mandir=/usr/share/man \
-   --enable-mpi-f90 \
-   --libdir=/usr/lib/${pkgname} \
-   --with-threads=posix \
-   --enable-smp-locks \
-   --with-valgrind \
-   --enable-memchecker \
-   --enable-debug \
-   --enable-pretty-print-stacktrace \
-   --without-slurm \
-   --with-hwloc=/usr \
-   --with-libltdl=/usr  \
-   FC=/usr/bin/gfortran \
-   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
-
-   make
-}
-
-package() {
-   cd ${srcdir}/${pkgname}-${pkgver}
-   make DESTDIR=${pkgdir} install
-
-   # FS#28583
-   install -d -m 755 ${pkgdir}/usr/lib/pkgconfig
-   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
-  ln -sf /usr/lib/openmpi/pkgconfig/${i} ${pkgdir}/usr/lib/pkgconfig/
-   done
-
-   # Openmpi's otfinfo conflicts with the one from texlive
-   mv ${pkgdir}/usr/bin/otfinfo{,mpi}
-
-   # Openmpi's otfdump conflicts with the one from libotf
-   mv ${pkgdir}/usr/bin/otfdump{,ompi}
-
-   # Remove dangling symlink
-   rm ${pkgdir}/usr/share/man/man1/orteCC.1
-
-   install -d -m 755 ${pkgdir}/etc/ld.so.conf.d
-   echo /usr/lib/${pkgname}  ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf
-
-   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 159204, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-05-18 00:00:13 UTC (rev 159205)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault steph...@archlinux.org
+pkgname=openmpi
+pkgver=1.6
+pkgrel=2
+pkgdesc=High performance message passing library (MPI)
+arch=('i686' 'x86_64')
+url=http://www.open-mpi.org;
+license=('custom')
+depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc')
+makedepends=('inetutils')
+options=(!libtool)
+source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2
+openmpi-hostfile.patch)
+sha1sums=('8b81eea712bb8f8120468003b5f29baecedf2367'
+  'a76da03418a106d57cfd020d0f8d887d7ec9225b')
+
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   # Make sure we use the system ltdl librariry rather than the ones in the 
tarball
+   rm -r opal/libltdl
+
+   # Search for openmpi-default-hostfile in /etc/openmpi
+   patch -Np1 -i ../openmpi-hostfile.patch
+
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --mandir=/usr/share/man \
+   --enable-mpi-f90 \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   

[arch-commits] Commit in openmpi/repos (6 files)

2012-04-30 Thread Stéphane Gaudreault
Date: Monday, April 30, 2012 @ 17:40:03
  Author: stephane
Revision: 157996

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 157995, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/openmpi-1.5.4-fix-fakeroot-execution.patch
(from rev 157995, openmpi/trunk/openmpi-1.5.4-fix-fakeroot-execution.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 157995, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/openmpi-1.5.4-fix-fakeroot-execution.patch
(from rev 157995, openmpi/trunk/openmpi-1.5.4-fix-fakeroot-execution.patch)

---+
 testing-i686/PKGBUILD |   70 
 testing-i686/openmpi-1.5.4-fix-fakeroot-execution.patch   |   43 +++
 testing-x86_64/PKGBUILD   |   70 
 testing-x86_64/openmpi-1.5.4-fix-fakeroot-execution.patch |   43 +++
 4 files changed, 226 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 157995, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-04-30 21:40:03 UTC (rev 157996)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault steph...@archlinux.org
+pkgname=openmpi
+pkgver=1.5.5
+pkgrel=3
+pkgdesc=High performance message passing library (MPI)
+arch=('i686' 'x86_64')
+url=http://www.open-mpi.org;
+license=('custom')
+depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc')
+makedepends=('inetutils')
+options=(!libtool)
+source=(http://www.open-mpi.org/software/ompi/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2
+openmpi-1.5.4-fix-fakeroot-execution.patch)
+sha1sums=('206e555f6d376443f2342f721d944e67dd1a04ef'
+  'ec46abb6f9e01daca910e4079b9abc036db9ed20')
+
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   # Fix fakeroot problem (FS#28644)
+   patch -Np1 -i ../openmpi-1.5.4-fix-fakeroot-execution.patch
+   
+   # Make sure we use the system ltdl librariry rather than the ones in the 
tarball
+   rm -r opal/libltdl
+
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --mandir=/usr/share/man \
+   --enable-mpi-f90 \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-debug \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr  \
+   FC=/usr/bin/gfortran \
+   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
+
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+   make DESTDIR=${pkgdir} install
+
+   # FS#28583
+   install -d -m 755 ${pkgdir}/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/${i} ${pkgdir}/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv ${pkgdir}/usr/bin/otfinfo{,mpi}
+
+   # Openmpi's otfdump conflicts with the one from libotf
+   mv ${pkgdir}/usr/bin/otfdump{,ompi}
+
+   # Remove dangling symlink
+   rm ${pkgdir}/usr/share/man/man1/orteCC.1
+
+   install -d -m 755 ${pkgdir}/etc/ld.so.conf.d
+   echo /usr/lib/${pkgname}  ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf
+
+   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: openmpi/repos/testing-i686/openmpi-1.5.4-fix-fakeroot-execution.patch 
(from rev 157995, openmpi/trunk/openmpi-1.5.4-fix-fakeroot-execution.patch)
===
--- testing-i686/openmpi-1.5.4-fix-fakeroot-execution.patch 
(rev 0)
+++ testing-i686/openmpi-1.5.4-fix-fakeroot-execution.patch 2012-04-30 
21:40:03 UTC (rev 157996)
@@ -0,0 +1,43 @@
+Description: If running under Debian fakeroot then its important
+ that this hook is disabled; a new stat check was introduced in
+ 1.5.x which preceeds the FAKEROOT check resulting in a SEGFAULT.
+Author: James Page james.p...@ubuntu.com
+Origin: https://svn.open-mpi.org/trac/ompi/changeset/21489
+
+Index: openmpi-1.5.4/opal/mca/memory/linux/hooks.c
+===
+--- openmpi-1.5.4.orig/opal/mca/memory/linux/hooks.c2012-02-15 
12:59:39.986314651 +
 openmpi-1.5.4/opal/mca/memory/linux/hooks.c 2012-02-15 13:14:57.744722517 
+
+@@ -738,15 +738,6 @@
+ check_result_t r1, r2, lp, lpp;
+ bool want_rcache = false, found_driver = false;
+ 
+-/* First, check if ummunotify is present on the system. If it is,
+-   then we don't need to do the following ptmalloc2 

[arch-commits] Commit in openmpi/repos (6 files)

2012-03-29 Thread Stéphane Gaudreault
Date: Thursday, March 29, 2012 @ 05:52:47
  Author: stephane
Revision: 154489

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

Added:
  openmpi/repos/testing-i686/
  openmpi/repos/testing-i686/PKGBUILD
(from rev 154488, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-i686/openmpi-1.5.4-fix-fakeroot-execution.patch
(from rev 154488, openmpi/trunk/openmpi-1.5.4-fix-fakeroot-execution.patch)
  openmpi/repos/testing-x86_64/
  openmpi/repos/testing-x86_64/PKGBUILD
(from rev 154488, openmpi/trunk/PKGBUILD)
  openmpi/repos/testing-x86_64/openmpi-1.5.4-fix-fakeroot-execution.patch
(from rev 154488, openmpi/trunk/openmpi-1.5.4-fix-fakeroot-execution.patch)

---+
 testing-i686/PKGBUILD |   67 
 testing-i686/openmpi-1.5.4-fix-fakeroot-execution.patch   |   43 +++
 testing-x86_64/PKGBUILD   |   67 
 testing-x86_64/openmpi-1.5.4-fix-fakeroot-execution.patch |   43 +++
 4 files changed, 220 insertions(+)

Copied: openmpi/repos/testing-i686/PKGBUILD (from rev 154488, 
openmpi/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-03-29 09:52:47 UTC (rev 154489)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault steph...@archlinux.org
+pkgname=openmpi
+pkgver=1.5.5
+pkgrel=1
+pkgdesc=High performance message passing library (MPI)
+arch=('i686' 'x86_64')
+url=http://www.open-mpi.org;
+license=('custom')
+depends=('gcc' 'gcc-fortran' 'openssh' 'valgrind' 'libtool' 'hwloc')
+makedepends=('inetutils')
+options=(!libtool)
+source=(http://www.open-mpi.org/software/ompi/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2
+openmpi-1.5.4-fix-fakeroot-execution.patch)
+sha1sums=('206e555f6d376443f2342f721d944e67dd1a04ef'
+  'ec46abb6f9e01daca910e4079b9abc036db9ed20')
+
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   # Fix fakeroot problem (FS#28644)
+   patch -Np1 -i ../openmpi-1.5.4-fix-fakeroot-execution.patch
+
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --mandir=/usr/share/man \
+   --enable-mpi-f90 \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-debug \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=/usr \
+   --with-libltdl=/usr \
+   FC=/usr/bin/gfortran \
+   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
+
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+   make DESTDIR=${pkgdir} install
+
+   # FS#28583
+   install -d -m 755 ${pkgdir}/usr/lib/pkgconfig
+   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
+  ln -sf /usr/lib/openmpi/pkgconfig/$i ${pkgdir}/usr/lib/pkgconfig/
+   done
+
+   # Openmpi's otfinfo conflicts with the one from texlive
+   mv ${pkgdir}/usr/bin/otfinfo{,mpi}
+
+   # Openmpi's otfdump conflicts with the one from libotf
+   mv ${pkgdir}/usr/bin/otfdump{,ompi}
+
+   # Remove dangling symlink
+   rm ${pkgdir}/usr/share/man/man1/orteCC.1
+
+   install -d -m 755 ${pkgdir}/etc/ld.so.conf.d
+   echo /usr/lib/${pkgname}  ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf
+
+   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: openmpi/repos/testing-i686/openmpi-1.5.4-fix-fakeroot-execution.patch 
(from rev 154488, openmpi/trunk/openmpi-1.5.4-fix-fakeroot-execution.patch)
===
--- testing-i686/openmpi-1.5.4-fix-fakeroot-execution.patch 
(rev 0)
+++ testing-i686/openmpi-1.5.4-fix-fakeroot-execution.patch 2012-03-29 
09:52:47 UTC (rev 154489)
@@ -0,0 +1,43 @@
+Description: If running under Debian fakeroot then its important
+ that this hook is disabled; a new stat check was introduced in
+ 1.5.x which preceeds the FAKEROOT check resulting in a SEGFAULT.
+Author: James Page james.p...@ubuntu.com
+Origin: https://svn.open-mpi.org/trac/ompi/changeset/21489
+
+Index: openmpi-1.5.4/opal/mca/memory/linux/hooks.c
+===
+--- openmpi-1.5.4.orig/opal/mca/memory/linux/hooks.c2012-02-15 
12:59:39.986314651 +
 openmpi-1.5.4/opal/mca/memory/linux/hooks.c 2012-02-15 13:14:57.744722517 
+
+@@ -738,15 +738,6 @@
+ check_result_t r1, r2, lp, lpp;
+ bool want_rcache = false, found_driver = false;
+ 
+-/* First, check if ummunotify is present on the system. If it is,
+-   then we don't need to do the following ptmalloc2 hacks.
+-   open/mmap on the device may fail during init, but if /dev/ummunotify
+-   exists, we 

[arch-commits] Commit in openmpi/repos (6 files)

2012-02-29 Thread Stéphane Gaudreault
Date: Wednesday, February 29, 2012 @ 19:42:34
  Author: stephane
Revision: 151701

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

Added:
  openmpi/repos/extra-i686/PKGBUILD
(from rev 151700, openmpi/trunk/PKGBUILD)
  openmpi/repos/extra-i686/openmpi-1.5.4-fix-fakeroot-execution.patch
(from rev 151700, openmpi/trunk/openmpi-1.5.4-fix-fakeroot-execution.patch)
  openmpi/repos/extra-x86_64/PKGBUILD
(from rev 151700, openmpi/trunk/PKGBUILD)
  openmpi/repos/extra-x86_64/openmpi-1.5.4-fix-fakeroot-execution.patch
(from rev 151700, openmpi/trunk/openmpi-1.5.4-fix-fakeroot-execution.patch)
Deleted:
  openmpi/repos/extra-i686/PKGBUILD
  openmpi/repos/extra-x86_64/PKGBUILD

-+
 extra-i686/PKGBUILD |  129 +++---
 extra-i686/openmpi-1.5.4-fix-fakeroot-execution.patch   |   43 
 extra-x86_64/PKGBUILD   |  129 +++---
 extra-x86_64/openmpi-1.5.4-fix-fakeroot-execution.patch |   43 
 4 files changed, 220 insertions(+), 124 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2012-03-01 00:42:24 UTC (rev 151700)
+++ extra-i686/PKGBUILD 2012-03-01 00:42:34 UTC (rev 151701)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Stéphane Gaudreault steph...@archlinux.org
-pkgname=openmpi
-pkgver=1.5.4
-pkgrel=4
-pkgdesc=High performance message passing library (MPI)
-arch=('i686' 'x86_64')
-url=http://www.open-mpi.org;
-license=('custom')
-depends=('gcc' 'gcc-fortran' 'openssh' 'valgrind' 'libtool' 'hwloc')
-makedepends=('inetutils')
-options=(!libtool)
-source=(http://www.open-mpi.org/software/ompi/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('81f7736a83b2134ba20c2e5c380b4d267cfd9d9c')
-
-build() {
-   cd ${srcdir}/${pkgname}-${pkgver}
-
-   ./configure --prefix=/usr \
-   --sysconfdir=/etc/${pkgname} \
-   --mandir=/usr/share/man \
-   --enable-mpi-f90 \
-   --libdir=/usr/lib/${pkgname} \
-   --with-threads=posix \
-   --enable-smp-locks \
-   --with-valgrind \
-   --enable-memchecker \
-   --enable-debug \
-   --enable-pretty-print-stacktrace \
-   --without-slurm \
-   --with-hwloc=external \
-   --with-libltdl=/usr \
-   FC=/usr/bin/gfortran \
-   LDFLAGS=$LDFLAGS -Wl,-z,noexecstack
-
-   make
-}
-
-package() {
-   cd ${srcdir}/${pkgname}-${pkgver}
-   make DESTDIR=${pkgdir} install
-
-   # FS#28583
-   install -d -m 755 ${pkgdir}/usr/lib/pkgconfig
-   for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do
-  ln -sf /usr/lib/openmpi/pkgconfig/$i ${pkgdir}/usr/lib/pkgconfig/
-   done
-
-   # Openmpi's otfinfo conflicts with the one from texlive
-   mv ${pkgdir}/usr/bin/otfinfo{,mpi}
-
-   # Openmpi's otfdump conflicts with the one from libotf
-   mv ${pkgdir}/usr/bin/otfdump{,ompi} 
-
-   # Remove dangling symlink
-   rm ${pkgdir}/usr/share/man/man1/orteCC.1
-
-   install -d -m 755 ${pkgdir}/etc/ld.so.conf.d
-   echo /usr/lib/${pkgname}  ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf
-
-   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: openmpi/repos/extra-i686/PKGBUILD (from rev 151700, 
openmpi/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-03-01 00:42:34 UTC (rev 151701)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault steph...@archlinux.org
+pkgname=openmpi
+pkgver=1.5.4
+pkgrel=5
+pkgdesc=High performance message passing library (MPI)
+arch=('i686' 'x86_64')
+url=http://www.open-mpi.org;
+license=('custom')
+depends=('gcc' 'gcc-fortran' 'openssh' 'valgrind' 'libtool' 'hwloc')
+makedepends=('inetutils')
+options=(!libtool)
+source=(http://www.open-mpi.org/software/ompi/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2
+openmpi-1.5.4-fix-fakeroot-execution.patch)
+sha1sums=('81f7736a83b2134ba20c2e5c380b4d267cfd9d9c'
+  'ec46abb6f9e01daca910e4079b9abc036db9ed20')
+
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   # Fix fakeroot problem (FS#28644)
+   patch -Np1 -i ../openmpi-1.5.4-fix-fakeroot-execution.patch
+
+   ./configure --prefix=/usr \
+   --sysconfdir=/etc/${pkgname} \
+   --mandir=/usr/share/man \
+   --enable-mpi-f90 \
+   --libdir=/usr/lib/${pkgname} \
+   --with-threads=posix \
+   --enable-smp-locks \
+   --with-valgrind \
+   --enable-memchecker \
+   --enable-debug \
+   --enable-pretty-print-stacktrace \
+   --without-slurm \
+   --with-hwloc=external \
+   --with-libltdl=/usr \
+   FC=/usr/bin/gfortran \
+