damask{,-grid,-mesh}: add @3.0.0-alpha5 (#26570)

This commit is contained in:
Martin Diehl 2021-10-12 13:22:09 +02:00 committed by GitHub
parent 4b2cbd3aea
commit 66b32b337f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 2 deletions

View File

@ -13,10 +13,14 @@ class DamaskGrid(CMakePackage):
maintainers = ['MarDieh']
version('3.0.0-alpha4', sha256='0bb8bde43b27d852b1fb6e359a7157354544557ad83d87987b03f5d629ce5493')
version('3.0.0-alpha5', sha256='2d2b10901959c26a5bb5c52327cdafc7943bc1b36b77b515b0371221703249ae')
depends_on('pkgconfig', type='build')
depends_on('cmake@3.10:', type='build')
depends_on('petsc+fftw@3.14.0:3.14,3.15.1:3.15')
depends_on('petsc@3.14.0:3.14,3.15.1:3.15', when='@3.0.0-alpha4')
depends_on('petsc@3.14.0:3.14,3.15.1:3.16', when='@3.0.0-alpha5')
depends_on('hdf5+fortran')
depends_on('fftw+mpi')
patch('CMakeDebugRelease.patch', when='@3.0.0-alpha4')
@ -24,6 +28,10 @@ class DamaskGrid(CMakePackage):
description='The build type to build',
values=('Debug', 'Release', 'DebugRelease'))
def patch(self):
filter_file(' -lhdf5 ', ' -lhdf5_fortran -lhdf5 ', 'CMakeLists.txt')
filter_file(' -lz ', ' -lz -lfftw3 -lfftw3_mpi ', 'CMakeLists.txt')
def cmake_args(self):
args = ['-DDAMASK_SOLVER:STRING=grid']
return args

View File

@ -13,9 +13,12 @@ class DamaskMesh(CMakePackage):
maintainers = ['MarDieh']
version('3.0.0-alpha4', sha256='0bb8bde43b27d852b1fb6e359a7157354544557ad83d87987b03f5d629ce5493')
version('3.0.0-alpha5', sha256='2d2b10901959c26a5bb5c52327cdafc7943bc1b36b77b515b0371221703249ae')
depends_on('pkgconfig', type='build')
depends_on('cmake@3.10:', type='build')
depends_on('petsc@3.14.0:3.14,3.15.1:3.15')
depends_on('petsc@3.14.0:3.14,3.15.1:3.15', when='@3.0.0-alpha4')
depends_on('petsc@3.14.0:3.14,3.15.1:3.16', when='@3.0.0-alpha5')
depends_on('hdf5+fortran')
patch('CMakeDebugRelease.patch', when='@3.0.0-alpha4')
@ -24,6 +27,9 @@ class DamaskMesh(CMakePackage):
description='The build type to build',
values=('Debug', 'Release', 'DebugRelease'))
def patch(self):
filter_file(' -lhdf5 ', ' -lhdf5_fortran -lhdf5 ', 'CMakeLists.txt')
def cmake_args(self):
args = ['-DDAMASK_SOLVER:STRING=mesh']
return args

View File

@ -26,7 +26,12 @@ class Damask(BundlePackage):
maintainers = ['MarDieh']
version('3.0.0-alpha4')
version('3.0.0-alpha5')
depends_on('damask-grid@3.0.0-alpha4', when='@3.0.0-alpha4', type='run')
depends_on('damask-mesh@3.0.0-alpha4', when='@3.0.0-alpha4', type='run')
depends_on('py-damask@3.0.0-alpha4', when='@3.0.0-alpha4', type='run')
depends_on('damask-grid@3.0.0-alpha5', when='@3.0.0-alpha5', type='run')
depends_on('damask-mesh@3.0.0-alpha5', when='@3.0.0-alpha5', type='run')
depends_on('py-damask@3.0.0-alpha5', when='@3.0.0-alpha5', type='run')

View File

@ -13,6 +13,7 @@ class PyDamask(PythonPackage):
maintainers = ['MarDieh']
version('3.0.0-alpha4', sha256='0bb8bde43b27d852b1fb6e359a7157354544557ad83d87987b03f5d629ce5493')
version('3.0.0-alpha5', sha256='2d2b10901959c26a5bb5c52327cdafc7943bc1b36b77b515b0371221703249ae')
depends_on('python@3.7:', type=('build', 'run'))
depends_on('vtk+python')