gromacs: Enable aarch64 builds (#23931)
This commit is contained in:
11
mingw-w64-gromacs/002-fix-missing-define.patch
Normal file
11
mingw-w64-gromacs/002-fix-missing-define.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -bur gromacs-2025.1-o/src/external/thread_mpi/src/type.cpp gromacs-2025.1/src/external/thread_mpi/src/type.cpp
|
||||
--- gromacs-2025.1-o/src/external/thread_mpi/src/type.cpp 2025-04-10 08:29:16.515520500 -0600
|
||||
+++ gromacs-2025.1/src/external/thread_mpi/src/type.cpp 2025-04-10 08:29:26.557646000 -0600
|
||||
@@ -163,6 +163,7 @@
|
||||
#ifdef _MSC_VER
|
||||
#define TYPE __int64
|
||||
#else
|
||||
+#include <cstdint>
|
||||
#define TYPE int64_t
|
||||
#endif
|
||||
#define TYPENM INT64_T
|
||||
@@ -4,10 +4,10 @@ _realname=gromacs
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=2025.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A free and open-source software suite for high-performance molecular dynamics and output analysis. (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('ucrt64' 'clang64')
|
||||
mingw_arch=('ucrt64' 'clang64' 'clangarm64')
|
||||
url='https://www.gromacs.org/'
|
||||
msys2_repository_url="https://gitlab.com/gromacs/gromacs"
|
||||
license=('spdx:LGPL-2.1-or-later')
|
||||
@@ -23,10 +23,12 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
|
||||
"${MINGW_PACKAGE_PREFIX}-opencl-headers"
|
||||
"${MINGW_PACKAGE_PREFIX}-python")
|
||||
source=("https://ftp.gromacs.org/gromacs/${_realname}-${pkgver}.tar.gz"
|
||||
"001-fix-pkgconfig-file.patch")
|
||||
"001-fix-pkgconfig-file.patch"
|
||||
"002-fix-missing-define.patch")
|
||||
noextract=("${_realname}-${pkgver}.tar.gz")
|
||||
sha256sums=('0adf621a80fd8043f8defec84ce02811c0cdf42a052232890932d81f25c4d28a'
|
||||
'5ecd85134a454de8d1b0f9ba94fcd54c005d47ea162b776a596dc42451dbc632')
|
||||
'5ecd85134a454de8d1b0f9ba94fcd54c005d47ea162b776a596dc42451dbc632'
|
||||
'7e29701fc4872ca4e33bc91d3e7bf77d14c803fb146a65c23b7c1c4d84a1b1fd')
|
||||
|
||||
apply_patch_with_msg() {
|
||||
for _patch in "$@"
|
||||
@@ -42,7 +44,8 @@ prepare() {
|
||||
cd "${srcdir}"/${_realname}-${pkgver}
|
||||
|
||||
apply_patch_with_msg \
|
||||
001-fix-pkgconfig-file.patch
|
||||
001-fix-pkgconfig-file.patch \
|
||||
002-fix-missing-define.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
Reference in New Issue
Block a user