[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: openmpi: Remove "static" output.
From: |
Ludovic Courtès |
Subject: |
03/07: gnu: openmpi: Remove "static" output. |
Date: |
Mon, 21 Aug 2017 11:06:12 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 327404aeaa4a431188a24eb697c37e4d5c5b428f
Author: Dave Love <address@hidden>
Date: Mon Jul 31 14:57:21 2017 +0100
gnu: openmpi: Remove "static" output.
--enable-static removes dynamically-loaded MCA components.
* gnu/packages/mpi.scm (openmpi)[outputs]: Remove field.
[arguments]: Don't configure with --enable-static; remove
'move-static-libraries' phase.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/mpi.scm | 19 +------------------
1 file changed, 1 insertion(+), 18 deletions(-)
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index ac7b9b2..f24da7b 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -122,7 +122,6 @@ bind processes, and much more.")
(base32
"142s1vny9gllkq336yafxayjgcirj2jv0ddabj879jgya7hyr2d0"))))
(build-system gnu-build-system)
- (outputs '("out" "static"))
(inputs
`(("hwloc" ,hwloc "lib")
("gfortran" ,gfortran)
@@ -133,9 +132,7 @@ bind processes, and much more.")
`(("pkg-config" ,pkg-config)
("perl" ,perl)))
(arguments
- `(#:configure-flags `("--enable-static"
-
- "--enable-builtin-atomics"
+ `(#:configure-flags `("--enable-builtin-atomics"
"--enable-mpi-ext=all"
"--with-devel-headers"
@@ -157,20 +154,6 @@ bind processes, and much more.")
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(for-each delete-file (find-files out "config.log"))
- #t)))
- (add-after 'install 'move-static-libraries
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Move 19 MiB of static libraries to 'static'.
- (let* ((out (assoc-ref outputs "out"))
- (static (assoc-ref outputs "static"))
- (lib (string-append out "/lib"))
- (slib (string-append static "/lib")))
- (mkdir-p slib)
- (for-each (lambda (file)
- (rename-file
- file
- (string-append slib "/" (basename file))))
- (find-files lib "\\.a$"))
#t))))))
(home-page "http://www.open-mpi.org")
(synopsis "MPI-3 implementation")
- branch master updated (bd2e321 -> 6c171ff), Ludovic Courtès, 2017/08/21
- 06/07: gnu: openmpi: Modify configuration to reduce closure., Ludovic Courtès, 2017/08/21
- 05/07: gnu: openmpi: Remove references to compiler pathnames in "_info" programs., Ludovic Courtès, 2017/08/21
- 07/07: gnu: openmpi: Configure without vampirtrace., Ludovic Courtès, 2017/08/21
- 04/07: gnu: valgrind: Add separate "doc" output., Ludovic Courtès, 2017/08/21
- 02/07: gnu: openmpi: Add separate variant with thread-multiple support., Ludovic Courtès, 2017/08/21
- 01/07: gnu: z3: Build Python bindings., Ludovic Courtès, 2017/08/21
- 03/07: gnu: openmpi: Remove "static" output.,
Ludovic Courtès <=