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>
This commit is contained in:
Lars Bilke 2024-11-14 15:49:31 +01:00 committed by Ludovic Courtès
parent 299ddd14d8
commit 7c9fcc3e6e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1726,7 +1726,14 @@ (define-public hdf5-1.14
;; 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.