[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: gnu: gromacs: Remove input labels and use gexps.
From: |
guix-commits |
Subject: |
02/09: gnu: gromacs: Remove input labels and use gexps. |
Date: |
Tue, 10 Jan 2023 05:51:18 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 04bf1d96344a604c47758da12b21a1ceb1b89178
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Tue Jan 10 10:53:20 2023 +0100
gnu: gromacs: Remove input labels and use gexps.
* gnu/packages/chemistry.scm (gromacs)[arguments]: Turn into gexps.
[native-inputs]: Remove labels. Remove (package-source googletest).
---
gnu/packages/chemistry.scm | 94 +++++++++++++++++++++++-----------------------
1 file changed, 46 insertions(+), 48 deletions(-)
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 33c15dbacc..065d75da6e 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -370,55 +370,53 @@ stored with user-specified precision.")
(patches (search-patches "gromacs-tinyxml2.patch"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags
- (list "-DGMX_DEVELOPER_BUILD=on" ; Needed to run tests
- ;; Unbundling
- "-DGMX_USE_LMFIT=EXTERNAL"
- "-DGMX_BUILD_OWN_FFTW=off"
- "-DGMX_EXTERNAL_BLAS=on"
- "-DGMX_EXTERNAL_LAPACK=on"
- "-DGMX_EXTERNAL_TNG=on"
- "-DGMX_EXTERNAL_ZLIB=on"
- "-DGMX_EXTERNAL_TINYXML2=on"
- (string-append "-DTinyXML2_DIR="
- (assoc-ref %build-inputs "tinyxml2"))
- ;; Workaround for cmake/FindSphinx.cmake version parsing that does
- ;; not understand the guix-wrapped `sphinx-build --version' answer
- (string-append "-DSPHINX_EXECUTABLE_VERSION="
- ,(package-version python-sphinx)))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fixes
- (lambda* (#:key inputs #:allow-other-keys)
- ;; Still bundled: part of gromacs, source behind registration
- ;; but free software anyways
- ;;(delete-file-recursively "src/external/vmd_molfile")
- ;; Still bundled: threads-based OpenMPI-compatible fallback
- ;; designed to be bundled like that
- ;;(delete-file-recursively "src/external/thread_mpi")
- ;; Unbundling
- (delete-file-recursively "src/external/lmfit")
- (delete-file-recursively "src/external/clFFT")
- (delete-file-recursively "src/external/fftpack")
- (delete-file-recursively "src/external/build-fftw")
- (delete-file-recursively "src/external/tng_io")
- (delete-file-recursively "src/external/tinyxml2")
- (delete-file-recursively "src/external/googletest")
- (copy-recursively (assoc-ref inputs "googletest-source")
- "src/external/googletest")
- ;; This test warns about the build host hardware, disable
- (substitute* "src/gromacs/hardware/tests/hardwaretopology.cpp"
- (("TEST\\(HardwareTopologyTest, HwlocExecute\\)")
- "void __guix_disabled()"))
- #t)))))
+ (list #:configure-flags
+ #~(list "-DGMX_DEVELOPER_BUILD=on" ; Needed to run tests
+ ;; Unbundling
+ "-DGMX_USE_LMFIT=EXTERNAL"
+ "-DGMX_BUILD_OWN_FFTW=off"
+ "-DGMX_EXTERNAL_BLAS=on"
+ "-DGMX_EXTERNAL_LAPACK=on"
+ "-DGMX_EXTERNAL_TNG=on"
+ "-DGMX_EXTERNAL_ZLIB=on"
+ "-DGMX_EXTERNAL_TINYXML2=on"
+ (string-append "-DTinyXML2_DIR="
+ #$(this-package-input "tinyxml2"))
+ ;; Workaround for cmake/FindSphinx.cmake version parsing
that does
+ ;; not understand the guix-wrapped `sphinx-build --version'
answer
+ (string-append "-DSPHINX_EXECUTABLE_VERSION="
+ #$(package-version python-sphinx)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fixes
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Still bundled: part of gromacs, source behind
registration
+ ;; but free software anyways
+ ;;(delete-file-recursively "src/external/vmd_molfile")
+ ;; Still bundled: threads-based OpenMPI-compatible fallback
+ ;; designed to be bundled like that
+ ;;(delete-file-recursively "src/external/thread_mpi")
+ ;; Unbundling
+ (delete-file-recursively "src/external/lmfit")
+ (delete-file-recursively "src/external/clFFT")
+ (delete-file-recursively "src/external/fftpack")
+ (delete-file-recursively "src/external/build-fftw")
+ (delete-file-recursively "src/external/tng_io")
+ (delete-file-recursively "src/external/tinyxml2")
+ (delete-file-recursively "src/external/googletest")
+ (copy-recursively #$(package-source googletest)
+ "src/external/googletest")
+ ;; This test warns about the build host hardware, disable
+ (substitute*
"src/gromacs/hardware/tests/hardwaretopology.cpp"
+ (("TEST\\(HardwareTopologyTest, HwlocExecute\\)")
+ "void __guix_disabled()")))))))
(native-inputs
- `(("doxygen" ,doxygen)
- ("googletest-source" ,(package-source googletest))
- ("graphviz" ,graphviz)
- ("pkg-config" ,pkg-config)
- ("python" ,python)
- ("python-pygments" ,python-pygments)
- ("python-sphinx" ,python-sphinx)))
+ (list doxygen
+ graphviz
+ pkg-config
+ python
+ python-pygments
+ python-sphinx))
(inputs
(list fftwf
`(,hwloc-2 "lib")
- branch master updated (9b9004253b -> 4b50dccc63), guix-commits, 2023/01/10
- 01/09: gnu: gromacs: Update to 2022.4., guix-commits, 2023/01/10
- 03/09: gnu: neovim: Update to 0.8.2., guix-commits, 2023/01/10
- 04/09: services: git-daemon: Deprecate 'git-daemon-service' procedure., guix-commits, 2023/01/10
- 07/09: gnu: Add gophernicus., guix-commits, 2023/01/10
- 05/09: services: unattended-upgrade: Add 'operating-system-expression' field., guix-commits, 2023/01/10
- 02/09: gnu: gromacs: Remove input labels and use gexps.,
guix-commits <=
- 06/09: gnu: Add vger., guix-commits, 2023/01/10
- 08/09: gnu: Add guile-scheme-json-rpc., guix-commits, 2023/01/10
- 09/09: gnu: darktable: Update to 4.2.0., guix-commits, 2023/01/10