~ruther/guix-local

7c9fcc3e6ee55fdfd35860bd2186eeae90575e3f — Lars Bilke 1 year, 11 months ago 299ddd1
gnu: hdf5: Remove machine info from libraries.

* gnu/packages/maths.scm (hdf5-1.14)[arguments]: Add
‘patch-configure-build-settings’.

Change-Id: I1435b866babeb95af48e0fd970d931f022c8bc67
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 8 insertions(+), 1 deletions(-)

M gnu/packages/maths.scm
M gnu/packages/maths.scm => gnu/packages/maths.scm +8 -1
@@ 1726,7 1726,14 @@ extremely large and complex data collections.")
                ;; modifies the test reference.
                (substitute* "test/test_check_version.sh.in"
                  (("TESTING\\(\\).*" all)
                   (string-append all "\nSKIP; exit 0\n")))))))))))
                   (string-append all "\nSKIP; exit 0\n")))))
            (add-after 'patch-configure 'patch-configure-build-settings
              (lambda _
                (substitute* "src/H5build_settings.autotools.c.in"
                  ;; Don't record the build-time kernel version to make the
                  ;; library file reproducible.
                  (("@UNAME_INFO@")
                   "Linux"))))))))))

(define-public hdf5
  ;; Default version of HDF5.