Author: frankie Date: 2010-02-02 11:31:57 +0000 (Tue, 02 Feb 2010) New Revision: 2685
Modified: packages/hdf5/trunk/debian/changelog packages/hdf5/trunk/debian/rules Log: Turn optimization off. Modified: packages/hdf5/trunk/debian/changelog =================================================================== --- packages/hdf5/trunk/debian/changelog 2010-01-31 10:45:03 UTC (rev 2684) +++ packages/hdf5/trunk/debian/changelog 2010-02-02 11:31:57 UTC (rev 2685) @@ -1,3 +1,11 @@ +hdf5 (1.8.4-5) unstable; urgency=low + + * Now forces optimization off (-O0) in debian/rules due to some known problems + with gcc 4.3+ for 1.8.4. This is required to override Debian build evnironment + settings. + + -- Francesco Paolo Lovergine <[email protected]> Tue, 02 Feb 2010 12:29:07 +0100 + hdf5 (1.8.4-4) unstable; urgency=low * New patch sigbus.diff to revert changes done in 1.8.4 for SIGBUS/SIGSEGV Modified: packages/hdf5/trunk/debian/rules =================================================================== --- packages/hdf5/trunk/debian/rules 2010-01-31 10:45:03 UTC (rev 2684) +++ packages/hdf5/trunk/debian/rules 2010-02-02 11:31:57 UTC (rev 2685) @@ -79,6 +79,8 @@ DEBCC=gcc DEBCXX=g++ DEBFORTRAN=gfortran +# With gcc 4.3+ force optimization off, else some tests fail... + DEBOPT=-O0 # endif ### @@ -120,7 +122,7 @@ dh_testdir -mkdir debian/build-serial # configure serial version - cd debian/build-serial && CC=$(DEBCC) CXX=$(DEBCXX) F9X=$(DEBFORTRAN) \ + cd debian/build-serial && CC=$(DEBCC) CXX=$(DEBCXX) F9X=$(DEBFORTRAN) CFLAGS="$(DEBOPT)" CXXFLAGS="$(DEBOPT)" FFLAGS="$(DEBOPT)" \ ../../configure $(CONFIGURE_FLAGS) $(SERIAL_ONLY_FLAGS) touch $@ @@ -128,7 +130,7 @@ dh_testdir -mkdir debian/build-lam # configure version with lam - cd debian/build-lam && CPPFLAGS=-I/usr/include/lam \ + cd debian/build-lam && CPPFLAGS=-I/usr/include/lam CFLAGS="$(DEBOPT)" CXXFLAGS="$(DEBOPT)" FFLAGS="$(DEBOPT)" \ CC=mpicc.lam RUNPARALLEL=/usr/bin/mpirun.lam \ ../../configure $(CONFIGURE_FLAGS) \ --enable-parallel=yes @@ -138,7 +140,7 @@ dh_testdir -mkdir debian/build-openmpi # configure version with openmpi - cd debian/build-openmpi && CPPFLAGS=-I/usr/lib/openmpi/include \ + cd debian/build-openmpi && CPPFLAGS=-I/usr/lib/openmpi/include CFLAGS="$(DEBOPT)" CXXFLAGS="$(DEBOPT)" FFLAGS="$(DEBOPT)" \ CC=mpicc.openmpi F9X=mpif90.openmpi RUNPARALLEL=/usr/bin/mpirun.openmpi \ OMPI_MCA_disable_memory_allocator=1 ../../configure $(CONFIGURE_FLAGS) --enable-fortran \ --enable-parallel=yes @@ -148,7 +150,7 @@ dh_testdir -mkdir debian/build-mpich # configure version with mpich - cd debian/build-mpich && FCFLAGS=-I/usr/lib/mpich/include/ \ + cd debian/build-mpich && FCFLAGS=-I/usr/lib/mpich/include/ CFLAGS="$(DEBOPT)" CXXFLAGS="$(DEBOPT)" FFLAGS="$(DEBOPT)" \ LDFLAGS=-L/usr/lib/mpich/lib/ CC=mpicc.mpich \ CXX=mpiCC.mpich F9X=mpif90.mpich RUNPARALLEL=/usr/bin/mpirun.mpich \ ../../configure $(CONFIGURE_FLAGS) --enable-fortran \ _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

