...
 
Commits (4)
gnudatalanguage (0.9.9-3) unstable; urgency=medium
* Disable specialized code that causes problems on powerpc
* Handle python/numpy dependencies
* Remove unused lintuian override
-- Ole Streicher <olebole@debian.org> Tue, 08 Jan 2019 13:39:35 +0100
gnudatalanguage (0.9.9-2) unstable; urgency=medium
* Add some known failing tests to ignore
......
......@@ -6,12 +6,13 @@ Section: interpreters
Priority: optional
Build-Depends: cmake,
debhelper (>= 11~),
dh-python,
dpkg-dev (>= 1.16.1~),
libantlr-dev,
libeigen3-dev (>= 3.2.4),
libeigen3-dev (>= 3.3~alpha1-3) [arm64],
libfftw3-dev,
libgeotiff-dev,
libgeotiff-dev,
libgraphicsmagick++1-dev,
libgrib-api-dev,
libgsl-dev,
......@@ -81,10 +82,10 @@ Package: python-gdl
Architecture: any
Multi-Arch: same
Section: python
Depends: python,
python-numpy,
${misc:Depends},
Depends: ${misc:Depends},
${python:Depends},
${shlibs:Depends}
Provides: ${python:Provides}
Recommends: plplot-driver-xwin
Description: Python interface for the GNU Data Language
GNU Data Language (GDL) is a free IDL (Interactive Data Language)
......
From: Ole Streicher <olebole@debian.org>
Date: Tue, 24 Apr 2018 11:44:33 +0200
Subject: Disable specialized code that causes problems on powerpc
https://github.com/gnudatalanguage/gdl/issues/9
Closes: #894324
---
src/medianfilter.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/medianfilter.cpp b/src/medianfilter.cpp
index 02b05b0..0b7510e 100644
--- a/src/medianfilter.cpp
+++ b/src/medianfilter.cpp
@@ -670,7 +670,7 @@ static inline void histogram_add( const uint16_t x[16], uint16_t y[16] )
*(__m64*) &y[8] = _mm_add_pi16( *(__m64*) &y[8], *(__m64*) &x[8] );
*(__m64*) &y[12] = _mm_add_pi16( *(__m64*) &y[12], *(__m64*) &x[12] );
}
-#elif defined(__ALTIVEC__)
+#elif defined(__ALTIVEC__) && !defined (__ppc64__)
static inline void histogram_add( const uint16_t x[16], uint16_t y[16] )
{
*(__vector unsigned short*) &y[0] = vec_add( *(__vector unsigned short*) &y[0], *(__vector unsigned short*) &x[0] );
@@ -704,7 +704,7 @@ static inline void histogram_sub( const uint16_t x[16], uint16_t y[16] )
*(__m64*) &y[8] = _mm_sub_pi16( *(__m64*) &y[8], *(__m64*) &x[8] );
*(__m64*) &y[12] = _mm_sub_pi16( *(__m64*) &y[12], *(__m64*) &x[12] );
}
-#elif defined(__ALTIVEC__)
+#elif defined(__ALTIVEC__) && !defined (__ppc64__)
static inline void histogram_sub( const uint16_t x[16], uint16_t y[16] )
{
*(__vector unsigned short*) &y[0] = vec_sub( *(__vector unsigned short*) &y[0], *(__vector unsigned short*) &x[0] );
From: Orion Poplawski <orion@nwra.com>
Date: Sun, 2 Dec 2018 16:32:12 -0700
Subject: Drop unneeded using namespace std that conflicts with ALTIVEC vector
---
src/randomgenerators.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/randomgenerators.cpp b/src/randomgenerators.cpp
index d8a4cd3..d085532 100644
--- a/src/randomgenerators.cpp
+++ b/src/randomgenerators.cpp
@@ -35,7 +35,6 @@
namespace lib {
- using namespace std;
#ifdef USE_EIGEN
/* following are some modified codes taken from the GNU Scientific Library.
*
......@@ -3,4 +3,4 @@ Make-shared-library-and-python-extension-Multiarch-aware.patch
Build-with-Debian-s-antlr-instead-of-the-embedded-copy-in.patch
Fix-various-spelling-errors-found-by-lintian.patch
Fix-wrong-include-in-dSFMT.patch
Drop-unneeded-using-namespace-std-that-conflicts-with-ALT.patch
Disable-specialized-code-that-causes-problems-on-powerpc.patch
......@@ -13,7 +13,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
endif
%:
dh $@ -Scmake
dh $@ -Scmake --with python2
override_dh_auto_configure:
dh_auto_configure -- \
......@@ -45,3 +45,7 @@ override_dh_compress:
override_dh_gencontrol:
dh_gencontrol -ppython-gdl -- -v1:$(DEB_VERSION)
dh_gencontrol --remaining
override_dh_auto_install:
dh_auto_install
dh_numpy
# Unsafe symlink is removed in clean
gnudatalanguage source: source-contains-unsafe-symlink src/gdl