[Pkg-octave-commit] [octave-nan] 01/01: reduce_test_memory_footprint.patch: new patch, reduces memory usage of tests.

Sébastien Villemot sebastien at debian.org
Sat Mar 1 14:15:49 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository octave-nan.

commit 6a48dec3e86fedf53d5cbcfc464a498d8c44f6dd
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Sat Mar 1 14:12:17 2014 +0000

    reduce_test_memory_footprint.patch: new patch, reduces memory usage of tests.
    
    Should fix FTBFS on mips and mipsel. Thanks to Thomas Weber for investigating
    and finding the solution.
    
    Git-Dch: Full
---
 debian/patches/reduce_test_memory_footprint.patch | 19 +++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/reduce_test_memory_footprint.patch b/debian/patches/reduce_test_memory_footprint.patch
new file mode 100644
index 0000000..9d40c53
--- /dev/null
+++ b/debian/patches/reduce_test_memory_footprint.patch
@@ -0,0 +1,19 @@
+Description: Reduce memory usage of test_mex_accuracy
+ This patch reduces the size of a test matrix from 1e8 elements to 1e6. This
+ prevents FTBFS (due to out of memory) on some mips and mipsel buildds.
+Author: Sébastien Villemot <sebastien at debian.org>
+Forwarded: no
+Last-Update: 2014-03-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/test_mex_accuracy.m
++++ b/test/test_mex_accuracy.m
+@@ -29,7 +29,7 @@
+ 
+ clear
+ flag=0;
+-N = 1e7;
++N = 1e5;
+ x=randn(N,10)+1e6;
+ 
+ level = flag_accuracy_level;         %% backup original level 
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..9106d88 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+reduce_test_memory_footprint.patch

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-nan.git



More information about the Pkg-octave-commit mailing list