still olp packages

This commit is contained in:
Yann Dupont 2021-11-22 19:23:24 +01:00
parent f876de4016
commit 3d00017f1d

View file

@ -290,48 +290,48 @@
) )
) )
(define-public glicid-specific-hdf5-parallel-openmpi ;(define-public glicid-specific-hdf5-parallel-openmpi
(package/inherit glicid-specific-hdf5 ;use the latest ; (package/inherit glicid-specific-hdf5 ;use the latest
(name "glicid-specific-hdf5-parallel-openmpi") ; (name "glicid-specific-hdf5-parallel-openmpi")
(inputs ; (inputs
`(("mpi" ,glicid-specific-openmpi) ; `(("mpi" ,glicid-specific-openmpi)
,@(package-inputs glicid-specific-hdf5))) ; ,@(package-inputs glicid-specific-hdf5)))
(arguments ; (arguments
;
; `( ;; `(
; #:tests? #f ;; #:tests? #f
;
( ; (
substitute-keyword-arguments (package-arguments glicid-specific-hdf5) ; substitute-keyword-arguments (package-arguments glicid-specific-hdf5)
((#:configure-flags flags) ; ((#:configure-flags flags)
``("--enable-parallel" "--disable-tests" ; ``("--enable-parallel" "--disable-tests"
,@(delete "--enable-cxx" ; ,@(delete "--enable-cxx"
(delete "--enable-threadsafe" ,flags)))) ; (delete "--enable-threadsafe" ,flags))))
((#:phases phases) ; ((#:phases phases)
`(modify-phases ,phases ; `(modify-phases ,phases
(add-after 'build 'mpi-setup ; (add-after 'build 'mpi-setup
,%openmpi-setup) ; ,%openmpi-setup)
(add-before 'check 'patch-tests ; (add-before 'check 'patch-tests
(lambda _ ; (lambda _
;; OpenMPI's mpirun will exit with non-zero status if it ; ;; OpenMPI's mpirun will exit with non-zero status if it
;; detects an "abnormal termination", i.e. any process not ; ;; detects an "abnormal termination", i.e. any process not
;; calling MPI_Finalize(). Since the test is explicitly ; ;; calling MPI_Finalize(). Since the test is explicitly
;; avoiding MPI_Finalize so as not to have at_exit and thus ; ;; avoiding MPI_Finalize so as not to have at_exit and thus
;; H5C_flush_cache from being called, mpirun will always ; ;; H5C_flush_cache from being called, mpirun will always
;; complain, so turn this test off. ; ;; complain, so turn this test off.
(substitute* "testpar/Makefile" ; (substitute* "testpar/Makefile"
(("(^TEST_PROG_PARA.*)t_pflush1(.*)" front back) ; (("(^TEST_PROG_PARA.*)t_pflush1(.*)" front back)
(string-append front back "\n"))) ; (string-append front back "\n")))
(substitute* "tools/test/h5diff/testph5diff.sh" ; (substitute* "tools/test/h5diff/testph5diff.sh"
(("/bin/sh") (which "sh"))) ; (("/bin/sh") (which "sh")))
#t)))) ; #t))))
;
)) ;))
;
;
;
(synopsis "Management suite for data with parallel IO support"))) ; (synopsis "Management suite for data with parallel IO support")))
;
(define-public glicid-specific-openblas (define-public glicid-specific-openblas