Skip to content

Commit

Permalink
precice: update to 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
3rav authored Jul 25, 2024
1 parent 32e26d9 commit 4ed58e4
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions mingw-w64-precice/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Maintainer: Rafal Brzegowy <[email protected]>
# Maintainer: Rafał Brzegowy <[email protected]>
# Contributor: Raed Rizqie <[email protected]>

_realname=precice
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=2.5.0
pkgrel=6
pkgver=3.1.2
pkgrel=1
pkgdesc='A Coupling Library for Partitioned Multi-Physics Simulations on Massively Parallel Systems (mingw-w64)'
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64')
Expand All @@ -26,11 +26,9 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-eigen3"
"git")
source=(https://github.com/precice/precice/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz
001-fix-libprecice-dll-installation.patch
002-fix-build-with-libxml2-2.12.patch)
sha256sums=('76ec6ee0d1a66f6f3d3d2d11f03cfc5aa7ef4d9e5deb9b7a4b4455ec7f796c00'
'49fe04f9e72d1034b8909a7b593ccf42eeaf5203d9188f71706260948a0fb566'
'9704b031c26f5be50a2ba08b3757f26d5c661e707145c1a5b170704002019480')
001-fix-libprecice-dll-installation.patch)
sha256sums=('e06d5e183f584c51812dcddf958210d1195bea38fa2df13be72303dcb06c869b'
'49fe04f9e72d1034b8909a7b593ccf42eeaf5203d9188f71706260948a0fb566')

apply_patch_with_msg() {
for _patch in "$@"
Expand All @@ -43,8 +41,7 @@ apply_patch_with_msg() {
prepare() {
cd ${_realname}-${pkgver}
apply_patch_with_msg \
001-fix-libprecice-dll-installation.patch \
002-fix-build-with-libxml2-2.12.patch
001-fix-libprecice-dll-installation.patch
}

build() {
Expand Down Expand Up @@ -84,6 +81,7 @@ build() {
-DPython3_EXECUTABLE=${MINGW_PREFIX}/bin/python.exe \
-DPRECICE_MPICommunication=ON \
-DPRECICE_PETScMapping=OFF \
-DTPL_ENABLE_PETSC=OFF \
-DPRECICE_PythonActions=ON \
-DPRECICE_BUILD_TOOLS=OFF \
-DPC_PETSc_INCLUDE_DIRS="$PREFIX_WIN/src/petsc/include;$PREFIX_WIN/src/petsc/$PETSC_ARCH/include" \
Expand All @@ -106,6 +104,7 @@ build() {
-DPython3_EXECUTABLE=${MINGW_PREFIX}/bin/python.exe \
-DPRECICE_MPICommunication=ON \
-DPRECICE_PETScMapping=OFF \
-DTPL_ENABLE_PETSC=OFF \
-DPRECICE_PythonActions=ON \
-DPC_PETSc_INCLUDE_DIRS="$PREFIX_WIN/src/petsc/include;$PREFIX_WIN/src/petsc/$PETSC_ARCH/include" \
-Wno-dev \
Expand Down

0 comments on commit 4ed58e4

Please sign in to comment.