Skip to content

Commit

Permalink
mumps: update to 5.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiChinoune committed Mar 29, 2023
1 parent fb60adb commit e8a3754
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 34 deletions.
26 changes: 0 additions & 26 deletions mingw-w64-mumps/0003-fix-setenv.patch

This file was deleted.

22 changes: 14 additions & 8 deletions mingw-w64-mumps/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ _realname=mumps

pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=5.5.0
pkgrel=2
pkgver=5.5.1
pkgrel=1
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64')
pkgdesc="Sparse direct SLAE solver (mingw-w64)"
Expand All @@ -50,23 +50,29 @@ url="https://mumps-solver.org"
source=("https://graal.ens-lyon.fr/MUMPS/MUMPS_${pkgver}.tar.gz"
"0001-makefile.inc.patch"
"0002-skip-examples.patch"
"0003-fix-setenv.patch"
"all.tcl"
"tclbuildtest.tcl"
"mumps.test")
sha256sums=('e54d17c5e42a36c40607a03279e0704d239d71d38503aab68ef3bfe0a9a79c13'
sha256sums=('1abff294fa47ee4cfd50dfd5c595942b72ebfcedce08142a75a99ab35014fa15'
'394a9e6de6147c33881b7935a2a70f4803eea537faf7b8c74b7cb8236c7f1f87'
'bbefd4a5f841536132f32c1ffc684a58b778901cd777445ca817dbb34d983450'
'3f338895c6a1e6ae4cf4d634377c13e9618aef63dc0060dfb9b7b06405c63cc6'
'ec5072630e1c0309fe383669e9187790cd135a393c67bc4bc35cf60b0ba396ff'
'15c7af25b91406d5fe5f26cfe00963b6cfde1c3dd466eb25f1b6fae299934966'
'0b58c5bb34403a69bc4c4ab1ab551876695bff1f2be66ecaa9b5528a74e8f8f6')

apply_patch_with_msg() {
for _patch in "$@"
do
msg2 "Applying ${_patch}"
patch -Nbp1 -i "${srcdir}/${_patch}"
done
}

prepare() {
cd "${srcdir}/${_realname}_${pkgver}"
for p in ${srcdir}/*.patch; do
patch -p1 -i $p
done
apply_patch_with_msg \
"0001-makefile.inc.patch" \
"0002-skip-examples.patch"
}

seq_pc="metis scotch openblas"
Expand Down

0 comments on commit e8a3754

Please sign in to comment.