gnu: python-dolfin-adjoint: Fix indentation.
* gnu/packages/simulation.scm (python-dolfin-adjoint): Fix indentation. Change-Id: I457639a98f1ae49d43042e557352d390afc9419d
parent
2eb7cc2677
commit
5a33a71e67
|
@ -1180,29 +1180,29 @@ command-line utility for mesh optimisation.")
|
||||||
(name "python-dolfin-adjoint")
|
(name "python-dolfin-adjoint")
|
||||||
(version "2019.1.0")
|
(version "2019.1.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/dolfin-adjoint/pyadjoint")
|
(url "https://github.com/dolfin-adjoint/pyadjoint")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0xhy76a5f33hz94wc9g2mc5qmwkxfccbbc6yxl7psm130afp8lhn"))
|
"0xhy76a5f33hz94wc9g2mc5qmwkxfccbbc6yxl7psm130afp8lhn"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
;; One of the migration tests attempts to call openmpi
|
;; One of the migration tests attempts to call openmpi
|
||||||
;; recursively and fails. See
|
;; recursively and fails. See
|
||||||
;; https://bitbucket.org/mpi4py/mpi4py/issues/95. Run the
|
;; https://bitbucket.org/mpi4py/mpi4py/issues/95. Run the
|
||||||
;; test sequentially instead.
|
;; test sequentially instead.
|
||||||
(with-directory-excursion "tests/migration/optimal_control_mms"
|
(with-directory-excursion "tests/migration/optimal_control_mms"
|
||||||
(substitute* "test_optimal_control_mms.py"
|
(substitute* "test_optimal_control_mms.py"
|
||||||
(("\\\"mpirun\\\", \\\"-n\\\", \\\"2\\\", ") "")))
|
(("\\\"mpirun\\\", \\\"-n\\\", \\\"2\\\", ") "")))
|
||||||
;; Result files are regenerated in the check phase.
|
;; Result files are regenerated in the check phase.
|
||||||
(delete-file-recursively
|
(delete-file-recursively
|
||||||
"tests/migration/viscoelasticity/test-results")
|
"tests/migration/viscoelasticity/test-results")
|
||||||
#t))))
|
#t))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
(list fenics openmpi pybind11))
|
(list fenics openmpi pybind11))
|
||||||
|
@ -1219,7 +1219,7 @@ command-line utility for mesh optimisation.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'build 'mpi-setup
|
(add-after 'build 'mpi-setup
|
||||||
,%openmpi-setup)
|
,%openmpi-setup)
|
||||||
(add-after 'install 'install-doc
|
(add-after 'install 'install-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((doc (string-append (assoc-ref outputs "out")
|
(let* ((doc (string-append (assoc-ref outputs "out")
|
||||||
|
|
Reference in New Issue