Dear maintainer,

I've prepared an NMU for tiledarray (versioned as 0.6.0-5.2) and 
uploaded it to DELAYED/10. Please feel free to tell me if I should 
cancel it.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

diff -Nru tiledarray-0.6.0/debian/changelog tiledarray-0.6.0/debian/changelog
--- tiledarray-0.6.0/debian/changelog	2018-04-20 23:20:04.000000000 +0300
+++ tiledarray-0.6.0/debian/changelog	2018-06-24 13:38:23.000000000 +0300
@@ -1,3 +1,15 @@
+tiledarray (0.6.0-5.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build with less debug info on 32bit to workaround
+    the virtual address space limitation.
+  * Fix the accidental disabling of compiler optimization
+    on mips* in 0.6.0-2.
+  * Remove flags from the pkg-config Cflags/Libs that don't
+    belong there.
+
+ -- Adrian Bunk <b...@debian.org>  Sun, 24 Jun 2018 13:38:23 +0300
+
 tiledarray (0.6.0-5.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru tiledarray-0.6.0/debian/patches/pkgconfig-flags.patch tiledarray-0.6.0/debian/patches/pkgconfig-flags.patch
--- tiledarray-0.6.0/debian/patches/pkgconfig-flags.patch	1970-01-01 02:00:00.000000000 +0200
+++ tiledarray-0.6.0/debian/patches/pkgconfig-flags.patch	2018-06-24 13:38:23.000000000 +0300
@@ -0,0 +1,13 @@
+Description: Remove flags from the pkg-config file that don't belong there
+Author: Adrian Bunk <b...@debian.org>
+
+--- tiledarray-0.6.0.orig/tiledarray.pc.in
++++ tiledarray-0.6.0/tiledarray.pc.in
+@@ -2,5 +2,5 @@ Name: tiledarray
+ Description: A modern C++ library for block-sparse tensor computation
+ Version: @TILEDARRAY_VERSION@
+ URL: https://github.com/ValeevGroup/tiledarray
+-Cflags: -I@CMAKE_INSTALL_PREFIX@/include @CMAKE_CXX_FLAGS@ @TiledArray_PC_CFLAGS@
+-Libs: -L@CMAKE_INSTALL_PREFIX@/lib @CMAKE_EXE_LINKER_FLAGS@  @TiledArray_PC_LIBS@
++Cflags: -I@CMAKE_INSTALL_PREFIX@/include @TiledArray_PC_CFLAGS@
++Libs: -L@CMAKE_INSTALL_PREFIX@/lib @TiledArray_PC_LIBS@
diff -Nru tiledarray-0.6.0/debian/patches/series tiledarray-0.6.0/debian/patches/series
--- tiledarray-0.6.0/debian/patches/series	2018-04-20 23:11:11.000000000 +0300
+++ tiledarray-0.6.0/debian/patches/series	2018-06-24 13:38:23.000000000 +0300
@@ -1 +1,2 @@
 specialization-after-instantiation.patch
+pkgconfig-flags.patch
diff -Nru tiledarray-0.6.0/debian/rules tiledarray-0.6.0/debian/rules
--- tiledarray-0.6.0/debian/rules	2017-01-14 00:37:27.000000000 +0200
+++ tiledarray-0.6.0/debian/rules	2018-06-24 13:38:23.000000000 +0300
@@ -19,9 +19,13 @@
 include /usr/share/dpkg/architecture.mk
 
 ifneq (,$(findstring mips,$(DEB_TARGET_ARCH)))
-  CXX_FLAGS="$(shell pkg-config --cflags-only-I mpi) -mxgot"
+  CXXFLAGS+=$(shell pkg-config --cflags-only-I mpi) -g0 -mxgot
 else
-  CXX_FLAGS="$(shell pkg-config --cflags-only-I mpi)"
+  ifeq (32,$(DEB_HOST_ARCH_BITS))
+    CXXFLAGS+=$(shell pkg-config --cflags-only-I mpi) -g1
+  else
+    CXXFLAGS+=$(shell pkg-config --cflags-only-I mpi)
+  endif
 endif
 EXE_LINKER_FLAGS="$(shell pkg-config --libs-only-l mpi)"
 ifneq (,$(filter $(DEB_TARGET_ARCH),mips64el))
@@ -41,7 +45,7 @@
 		-DTA_BUILD_UNITTEST=ON				\
 		-DTA_ERROR="throw"				\
 		-DENABLE_SHARED_LIBRARIES=OFF			\
-		-DCMAKE_CXX_FLAGS=${CXX_FLAGS}			\
+		-DCMAKE_CXX_FLAGS="${CXXFLAGS}"			\
 		-DCMAKE_EXE_LINKER_FLAGS=${EXE_LINKER_FLAGS}
 
 override_dh_auto_build:

Reply via email to