From 6876590fd446d23595aa9a8818a37373fabd4ca0 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Fri, 8 Jul 2016 12:15:38 -0500 Subject: gnu: openmpi: Update to 1.10.3. * gnu/packages/mpi.scm (openmpi): Update to 1.10.3. [source]: Use https. --- gnu/packages/mpi.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/mpi.scm') diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 262330ecd7..254f2a5ab5 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -98,16 +98,16 @@ bind processes, and much more.") (define-public openmpi (package (name "openmpi") - (version "1.10.1") + (version "1.10.3") (source (origin (method url-fetch) - (uri (string-append "http://www.open-mpi.org/software/ompi/v" + (uri (string-append "https://www.open-mpi.org/software/ompi/v" (version-major+minor version) "/downloads/openmpi-" version ".tar.bz2")) (sha256 (base32 - "14p4px9a3qzjc22lnl6braxrcrmd9rgmy7fh4qpanawn2pgfq6br")))) + "0k95ri9f8kzx5vhzrdbzn59rn2324fs4a96w5v8jy20j8dkbp13l")))) (build-system gnu-build-system) (inputs `(("hwloc" ,hwloc) -- cgit v1.2.3 From 9474a4b3ec568164583a4ca7aa3c01d02ac014da Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Fri, 8 Jul 2016 16:00:07 -0500 Subject: gnu: openmpi: Make binaries reproducible. * gnu/packages/mpi.scm (openmpi)[arguments]: Remove timestamps from source files. Delete installed configure logs. --- gnu/packages/mpi.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'gnu/packages/mpi.scm') diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 254f2a5ab5..68937a26f5 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -128,7 +128,20 @@ bind processes, and much more.") ,(string-append "--with-valgrind=" (assoc-ref %build-inputs "valgrind")) ,(string-append "--with-hwloc=" - (assoc-ref %build-inputs "hwloc"))))) + (assoc-ref %build-inputs "hwloc"))) + #:phases (modify-phases %standard-phases + (add-before 'build 'scrub-timestamps ;reproducibility + (lambda _ + (substitute* '("ompi/tools/ompi_info/param.c" + "orte/tools/orte-info/param.c" + "oshmem/tools/oshmem_info/param.c") + ((".*(Built|Configured) on.*") "")) + #t)) + (add-after 'install 'remove-logs ;reproducibility + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (for-each delete-file (find-files out "config.log")) + #t)))))) (home-page "http://www.open-mpi.org") (synopsis "MPI-2 implementation") (description -- cgit v1.2.3