From 39b3033731283b81ae36f022c6476634ab1d0455 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 19 May 2016 11:47:27 +0200 Subject: gnu: flann: Strip .mex file. * gnu/packages/maths.scm (flann)[arguments]: Add #:strip-directories. --- gnu/packages/maths.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 2926c1c4c9..da7bfa6b76 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2015 Fabian Harfert ;;; Copyright © 2016 Roel Janssen ;;; Copyright © 2016 Kei Kebreau +;;; Copyright © 2016 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -2208,7 +2209,12 @@ in finite element programs.") ;; ("python2-numpy" ,python2-numpy) ; only required for the tests ("zlib" ,zlib))) (arguments - `(#:tests? #f)) ; The test data are downloaded from the Internet. + `(;; The 'share/flann/octave' contains a .mex file, which is an ELF file + ;; taken 46 MiB unstripped, and 6 MiB stripped. + #:strip-directories '("lib" "lib64" "libexec" + "bin" "sbin" "share/flann/octave") + + #:tests? #f)) ; The test data are downloaded from the Internet. (home-page "http://www.cs.ubc.ca/research/flann/") (synopsis "Library for approximate nearest neighbors computation") (description "FLANN is a library for performing fast approximate -- cgit 1.4.1