diff options
author | Norbert Weber | 2022-05-22 19:07:20 +0200 |
---|---|---|
committer | Norbert Weber | 2022-05-22 19:07:20 +0200 |
commit | 7dd55523aac9e9e020719ce3ca8b370e290751b2 (patch) | |
tree | 070937181cbcf7b629dd39665b0647bcca683600 | |
parent | 095be8c4ca45b1997e04de78ad6c38d786c69c7d (diff) | |
download | aur-7dd55523aac9e9e020719ce3ca8b370e290751b2.tar.gz |
Bugfix to add support for Kahip and cgal-5.4-1
-rw-r--r-- | .SRCINFO | 7 | ||||
-rwxr-xr-x | PKGBUILD | 12 |
2 files changed, 10 insertions, 9 deletions
@@ -1,12 +1,12 @@ pkgbase = openfoam-com pkgdesc = The open source CFD toolbox (www.openfoam.com) pkgver = v2112 - pkgrel = 1 - url = http://www.openfoam.com/ + pkgrel = 2 + url = http://www.openfoam.com install = openfoam-com.install arch = i686 arch = x86_64 - license = GPL + license = GPL3 depends = gcc depends = cgal depends = fftw @@ -16,6 +16,7 @@ pkgbase = openfoam-com depends = utf8cpp depends = scotch depends = parmetis + depends = kahip source = https://sourceforge.net/projects/openfoam/files/v2112/OpenFOAM-v2112.tgz md5sums = b6553cfbb6c398e8fe50c96e9e456968 @@ -12,13 +12,13 @@ pkgname=openfoam-com pkgver=v2112 _distname=OpenFOAM _dist=$_distname-$pkgver -pkgrel=1 +pkgrel=2 pkgdesc="The open source CFD toolbox (www.openfoam.com)" arch=('i686' 'x86_64') -url="http://www.openfoam.com/" -license=('GPL') +url="http://www.openfoam.com" +license=('GPL3') install="${pkgname}.install" -depends=('gcc' 'cgal' 'fftw' 'boost' 'openmpi' 'paraview' 'utf8cpp' 'scotch' 'parmetis') +depends=('gcc' 'cgal' 'fftw' 'boost' 'openmpi' 'paraview' 'utf8cpp' 'scotch' 'parmetis' 'kahip') source=('https://sourceforge.net/projects/openfoam/files/v2112/OpenFOAM-v2112.tgz') @@ -50,7 +50,7 @@ export WM_MPLIB=SYSTEMOPENMPI -boost boost-system \ -cgal cgal-system \ -fftw fftw-system \ - -kahip kahip-none \ + -kahip kahip-system \ -scotch scotch-system \ -paraview paraview-system \ ; @@ -74,7 +74,7 @@ build() { # changes to avoid linking problems related to gcc 11 # check this for the next upgrade! pwd - sed -i 's/g++ -std=c++11/g++ -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0/g' $projectDir/wmake/rules/General/Gcc/c++ + sed -i 's/g++$(COMPILER_VERSION) -std=c++11/g++$(COMPILER_VERSION) -std=c++14 -D_GLIBCXX_USE_CXX14_ABI=0/g' $projectDir/wmake/rules/General/Gcc/c++ # Avoid external influence on the environment export FOAM_CONFIG_MODE="o" |