3232_realname=petsc
3333pkgbase=mingw-w64-${_realname}
3434pkgname=(" ${MINGW_PACKAGE_PREFIX} -${_realname} " " ${MINGW_PACKAGE_PREFIX} -${_realname} -build" )
35- pkgver=3.21.5
35+ pkgver=3.22.0
3636pkgrel=1
3737pkgdesc=' Sparse iterative (non)linear solver package (mingw-w64)'
3838arch=(' any' )
@@ -62,16 +62,20 @@ source=("https://web.cels.anl.gov/projects/petsc/download/release-snapshots/${_r
6262 ' petsc-mat.test'
6363 ' 0001-mpi-detection-override.patch'
6464 ' 0002-openblas-clang.patch'
65- ' 0003-pid.patch' )
65+ ' 0003-pid.patch'
66+ ' 0004-set_output_format.patch'
67+ ' 0005-with-pthread.patch' )
6668noextract=(" ${_realname} -lite-${pkgver} .tar.gz" )
67- sha256sums=(' 4eb1ec04c1a8988bd524f71f8d7d980dc1853d5be8791c0f19f3c09eef71fdd2 '
69+ sha256sums=(' 2c03f7c0f7ad2649240d4989355cf7fb7f211b75156cd7d424e1d9dd7dfb290b '
6870 ' ec5072630e1c0309fe383669e9187790cd135a393c67bc4bc35cf60b0ba396ff'
6971 ' 15c7af25b91406d5fe5f26cfe00963b6cfde1c3dd466eb25f1b6fae299934966'
7072 ' 7d171b2680211b0a4d305dfb866faf5c995e47d0ecf619d33f1cce3190c32128'
7173 ' b1c9c4c4155d10bcf12c5c512df34cd6a781c4c81f6edbc8e331f49c7e10a1f7'
7274 ' bef5353d6d10de492c9832f24b41993c38d1b36a78eb55e7d49089ba72acc05a'
7375 ' c954cc4240a6f3cebdc40cf4fca07561e58eb50717b9741c296b73657bac1c51'
74- ' 08d37a205d7a2ae27ccef41ee931f92c96aa428b94ed633def2f56fdfa6fb11e' )
76+ ' 08d37a205d7a2ae27ccef41ee931f92c96aa428b94ed633def2f56fdfa6fb11e'
77+ ' 254405c6c0eb5aa57b1cb74bbaf8876bcdb67d63136102e48a8036824bb9f129'
78+ ' bd7d1fa888d24f5183de992fb9377a4532cd9f38c5608018f5cd82f61e3096e9' )
7579
7680# Helper macros to help make tasks easier #
7781apply_patch_with_msg () {
@@ -90,7 +94,9 @@ prepare() {
9094 apply_patch_with_msg \
9195 0001-mpi-detection-override.patch \
9296 0002-openblas-clang.patch \
93- 0003-pid.patch
97+ 0003-pid.patch \
98+ 0004-set_output_format.patch \
99+ 0005-with-pthread.patch
94100}
95101
96102# Optimized build flavors
@@ -145,7 +151,7 @@ _petsc() {
145151 ;;
146152 ? s? )
147153 opts+=" --with-mpi=0 --with-pthread=0 --with-openmp=0"
148- iflags+=" -I\$ {includedir}/mpiuni"
154+ iflags+=" -I\$ {includedir}/mpiuni"
149155 desc=" Sequential"
150156 ;;
151157 esac
0 commit comments