[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: flann: Strip .mex file.
From: |
Ludovic Courtès |
Subject: |
01/03: gnu: flann: Strip .mex file. |
Date: |
Thu, 19 May 2016 12:52:00 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit 39b3033731283b81ae36f022c6476634ab1d0455
Author: Ludovic Courtès <address@hidden>
Date: Thu May 19 11:47:27 2016 +0200
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(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 2926c1c..da7bfa6 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2015 Fabian Harfert <address@hidden>
;;; Copyright © 2016 Roel Janssen <address@hidden>
;;; Copyright © 2016 Kei Kebreau <address@hidden>
+;;; Copyright © 2016 Ludovic Courtès <address@hidden>
;;;
;;; 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