Skip to content

Commit

Permalink
suitesparse: Fix relocation issue with GraphBLAS JIT compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuetzel committed Nov 11, 2023
1 parent 2d4ea68 commit deac189
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions mingw-w64-suitesparse/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _realname=suitesparse
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-suitesparse")
pkgver=7.3.1
pkgrel=1
pkgrel=2
pkgdesc='A suite of sparse matrix algorithms (mingw-w64)'
url="https://faculty.cse.tamu.edu/davis/suitesparse.html"
license=('spdx:LGPL-3.0-or-later AND BSD-3-Clause AND LGPL-2.1-or-later AND GPL-2.0-or-later AND LGPL-2.0-or-later AND Apache-2.0 AND GPL-3.0-or-later')
Expand All @@ -18,8 +18,10 @@ depends=("${MINGW_PACKAGE_PREFIX}-openblas"
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-ninja")
source=(${_realname}-${pkgver}.tar.gz::"https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v${pkgver}.tar.gz")
sha256sums=('b512484396a80750acf3082adc1807ba0aabb103c2e09be5691f46f14d0a9718')
source=(${_realname}-${pkgver}.tar.gz::"https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v${pkgver}.tar.gz"
0001-relocate-jit-compiler.patch::https://github.com/DrTimothyAldenDavis/SuiteSparse/commit/c697550beb30046c5078c318f2d7e58751b5b2fd.patch)
sha256sums=('b512484396a80750acf3082adc1807ba0aabb103c2e09be5691f46f14d0a9718'
'df1e5a59d8eb6cd56dbd6f590c743c39f8afbc7aea721c9db84c6bc683b65d97')

apply_patch_with_msg() {
for _patch in "$@"
Expand All @@ -30,7 +32,10 @@ apply_patch_with_msg() {
}

prepare() {
cd ${srcdir}
cd ${srcdir}/${_realname}-${pkgver}

apply_patch_with_msg \
0001-relocate-jit-compiler.patch
}

build() {
Expand Down

0 comments on commit deac189

Please sign in to comment.