[gromacs] Fix 2021.2 build error (#39722)
* [gromacs] Fix 2021.2 build error See https://gromacs.bioexcel.eu/t/compilation-failure-for-gromacs-2021-1-and-2021-2-with-cmake-3-20-2/2129 * Update var/spack/repos/builtin/packages/gromacs/package.py Co-authored-by: Andrey Alekseenko <al42and@gmail.com> --------- Co-authored-by: Andrey Alekseenko <al42and@gmail.com>
This commit is contained in:
parent
4570c9de5b
commit
91011a8c5f
1 changed files with 6 additions and 0 deletions
|
@ -275,6 +275,12 @@ class Gromacs(CMakePackage, CudaPackage):
|
|||
|
||||
patch("gmxDetectCpu-cmake-3.14.patch", when="@2018:2019.3^cmake@3.14.0:")
|
||||
patch("gmxDetectSimd-cmake-3.14.patch", when="@5.0:2017^cmake@3.14.0:")
|
||||
# 2021.2 will always try to build tests (see https://gromacs.bioexcel.eu/t/compilation-failure-for-gromacs-2021-1-and-2021-2-with-cmake-3-20-2/2129)
|
||||
patch(
|
||||
"https://gitlab.com/gromacs/gromacs/-/commit/10262892e11a87fda0f59e633c89ed5ab1100509.diff",
|
||||
sha256="2c30d00404b76421c13866cc42afa5e63276f7926c862838751b158df8727b1b",
|
||||
when="@2021.1:2021.2",
|
||||
)
|
||||
|
||||
filter_compiler_wrappers(
|
||||
"*.cmake", relative_root=os.path.join("share", "cmake", "gromacs_mpi")
|
||||
|
|
Loading…
Reference in a new issue