diff options
author | Carlos Aznarán | 2024-10-09 18:20:44 -0500 |
---|---|---|
committer | Carlos Aznarán | 2024-10-09 18:20:44 -0500 |
commit | 8190576a0c8b4880847073cde14ce4ddc8ed6b32 (patch) | |
tree | f88a82f0c88084c0a62752559928cdb0895def53 | |
parent | 08a728dad6c7f907495027e7fcb7030bd80484b8 (diff) | |
download | aur-su2.tar.gz |
Bump version to 8.1.0
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 20 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = su2 pkgdesc = An Open-Source Suite for Multiphysics Simulation and Design - pkgver = 8.0.1 + pkgver = 8.1.0 pkgrel = 1 url = https://su2code.github.io arch = x86_64 @@ -11,9 +11,9 @@ pkgbase = su2 depends = python-numpy depends = python-mpi4py depends = intel-oneapi-mkl - source = SU2-8.0.1::git+https://github.com/su2code/SU2.git#tag=v8.0.1 + source = SU2-8.1.0::git+https://github.com/su2code/SU2.git#tag=v8.1.0 source = su2.sh - sha512sums = 83c82596ab2102f59be733c7cdc522efc4ba96c0d3197f4eeee457f8667fce6a5ce23d1777b823434eb56d83151b86e3b2bacf7863fd874af75786e174bfa3a8 + sha512sums = e0722722cb481b35c6477541576d45622daaebcbe251bfa4b4a391e2c86d84a05910c2516410174a0aaefb8a23c64be89a06cd1a4c71fe58fc0b7feb2b774975 sha512sums = 1c753dc503cc56f86f784071a18ae71dd6fbf64a6d7948275f65cfb1187a68dbff9c01729ffdde86147fb2b8ff25cb5aaa934ffda7d3aa1563313a033d650993 pkgname = su2 @@ -4,38 +4,46 @@ # Contributor: Xwang <xwaang1976@gmail.com> _base=SU2 pkgname=${_base,,} -pkgver=8.0.1 +pkgver=8.1.0 pkgrel=1 pkgdesc="An Open-Source Suite for Multiphysics Simulation and Design" url="https://${pkgname}code.github.io" license=(LGPL-2.1-or-later) depends=(python-numpy python-mpi4py intel-oneapi-mkl) -makedepends=(swig python-setuptools git) # ninja +makedepends=(swig python-setuptools git) arch=(x86_64) source=(${_base}-${pkgver}::git+https://github.com/${pkgname}code/${_base}.git#tag=v${pkgver} ${pkgname}.sh) -sha512sums=('83c82596ab2102f59be733c7cdc522efc4ba96c0d3197f4eeee457f8667fce6a5ce23d1777b823434eb56d83151b86e3b2bacf7863fd874af75786e174bfa3a8' +sha512sums=('e0722722cb481b35c6477541576d45622daaebcbe251bfa4b4a391e2c86d84a05910c2516410174a0aaefb8a23c64be89a06cd1a4c71fe58fc0b7feb2b774975' '1c753dc503cc56f86f784071a18ae71dd6fbf64a6d7948275f65cfb1187a68dbff9c01729ffdde86147fb2b8ff25cb5aaa934ffda7d3aa1563313a033d650993') prepare() { cd ${_base}-${pkgver} + # https://github.com/su2code/SU2/issues/2364 + # sed -i 's/sys.path\[0\] + os.path.sep + \"ninja\"/\"\/usr\/bin\/ninja\"/' preconfigure.py + # sed -i "27 a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ '-Wno-error=implicit-function-declaration'," meson.build git submodule init git -c protocol.file.allow=always submodule update } build() { cd ${_base}-${pkgver} + ./preconfigure.py --no-codi --no-medi --no-opdi --no-mpp --no-coolprop --no-mel --no-mlpcpp ./meson.py build \ --prefix=/usr \ --buildtype=plain \ + -Denable-autodiff=false \ + -Denable-directdiff=false \ + -Denable-pywrapper=false \ -Dwith-mpi=enabled \ - -Denable-mkl=true \ - -Denable-autodiff=true \ - -Denable-directdiff=true \ - -Denable-mixedprec=true \ + -Denable-mkl=false \ + -Denable-openblas=false \ + -Denable-cgns=false \ -Denable-pastix=false \ - -Denable-openblas=true \ - -Denable-pywrapper=false \ + -Denable-mpp=false \ + -Denable-mixedprec=false \ + -Denable-mlpcpp=false \ + -Denable-gprof=false \ -Denable-tests=false ./ninja -C build } |