[SCM] Packaging for ESyS-Particle - Open Source software for particle-based numerical modelling branch, master, updated. debian/2.2.u1-1-3-g6eae7c2

Anton Gladky gladky.anton at gmail.com
Mon May 6 23:53:31 UTC 2013


The following commit has been merged in the master branch:
commit 1a8b4874bd6426992dfb9ad12224a8a40e2ab6a1
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Mon May 6 21:09:37 2013 +0200

    Disable autotests on some archs (mpich2).

diff --git a/debian/rules b/debian/rules
index f245662..d903f2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 	dh $@ --parallel --with autoreconf
 
 export OMPI_MCA_plm_rsh_agent=/bin/false                #workaround to start MPI-applications in chroot
+disable_auto_test_archs_mpi = hurd-i386 mips mipsel s390 s390x
+
 export LD_LIBRARY_PATH :=  $(CURDIR)/debian/esys-particle/usr/lib/${DEB_HOST_MULTIARCH}/:$(CURDIR)/debian/esys-particle/usr/lib/python2.7/dist-packages/esys/lsm/util/:$(CURDIR)/debian/esys-particle/usr/lib/python2.7/dist-packages/esys/lsm/:$(LD_LIBRARY_PATH);
 
 export PYTHONPATH := $(CURDIR)/debian/esys-particle/usr/lib/python2.7/dist-packages/:$(PYTHONPATH);
@@ -27,8 +29,10 @@ override_dh_pysupport:
 
 override_dh_auto_install:
 	dh_auto_install
+ifeq (,$(filter $(DEB_HOST_ARCH),$(disable_auto_test_archs_mpi)))	
 	cd $(CURDIR)/debian/test; python box.py 15.0
 	cd $(CURDIR)/debian/test; mpirun -np 3 $(CURDIR)/debian/esys-particle/usr/bin/esysparticle compression.py; cat nbons.dat; cat ekin.dat; cat epot.dat
+endif
 	find . -name '*.pyc' -print0 | xargs -0 rm -f
 	find . -name '*.pyo' -print0 | xargs -0 rm -f
 	find . -name '*.la' -print0 | xargs -0 rm -f

-- 
Packaging for ESyS-Particle - Open Source software for particle-based numerical modelling



More information about the debian-science-commits mailing list