diff options
author | Christian Holme | 2022-03-16 10:22:42 +0100 |
---|---|---|
committer | Christian Holme | 2022-03-16 10:22:42 +0100 |
commit | 834b385a5d4797c4bc08ec92c29be04e0af5e65d (patch) | |
tree | 1a49a85aa68189b2cb4a13af7cddd70e7fde97f0 /PKGBUILD | |
parent | 9a4f689ca80aa96081e60c009d19bc5f4b4e0470 (diff) | |
download | aur-834b385a5d4797c4bc08ec92c29be04e0af5e65d.tar.gz |
remove gcc10, add gcc>=11.2.0
11.2.0 fixes the compilation problem which made us use gcc10
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -3,14 +3,14 @@ pkgname=bart-git _pkgname=bart -pkgver=0.7.00.r130.gdd40a4d +pkgver=0.7.00.r358.ge35c79c pkgrel=1 pkgdesc="Berkeley Advanced Reconstruction Toolbox (BART) for Computational Magnetic Resonance Imaging" arch=('x86_64') url="https://mrirecon.github.io/bart/" license=('BSD') makedepends=('git') -depends=('gcc10' 'gcc10-libs' 'openblas-lapack' 'fftw' 'libpng') +depends=('gcc>=11.2.0' 'openblas-lapack' 'fftw' 'libpng') optdepends=('octave' 'python3') source=('bart::git+https://github.com/mrirecon/bart.git') sha512sums=('SKIP') @@ -26,16 +26,13 @@ pkgver() { build() { cd "$_pkgname" - # Add linking flag, seems needed for Arch. Will open PR / issue upstream - #sed -i 's;BLAS_L := -L$(BLAS_BASE)/lib -llapacke -lblas;BLAS_L := -L$(BLAS_BASE)/lib -llapacke -lopenblas -lcblas;' Makefile - - make CC=gcc-10 - make CC=gcc-10 doc/commands.txt + make + make doc/commands.txt } package() { cd "$_pkgname" - make CC=gcc-10 PREFIX="$pkgdir"/usr install + make PREFIX="$pkgdir"/usr install # Also install the libs, the viewer needs this and its not done by the Makefile atm install -d "$pkgdir"/usr/lib/bart |