Skip to content

Commit

Permalink
Add version 1.8.1 of PDI
Browse files Browse the repository at this point in the history
Also support python >= 3.12
Fix #28

Co-authored-by: Thomas Padioleau <[email protected]>
  • Loading branch information
jbigot and tpadioleau committed Jan 29, 2025
1 parent 9cbfb80 commit 2ef9c38
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 14 deletions.
24 changes: 13 additions & 11 deletions packages/pdi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class Pdi(CMakePackage):
maintainers = ['jbigot']

version('develop', branch='main', no_cache=True)
version('1.8.1', sha256='43f0c0b2bda5515ecf99da7be1600af2c1f669d6c73e3f309275b14940c7e35c')
version('1.8.0', sha256='5d353bfa64f45ee4715b88bd30330030f79f2020cd6bede0ad9b8f9beddadea9')
version('1.7.1', sha256='d67e3a498bfe4491c4e9aeb40015b32481a7902b122f087dcebf05451a3d9ce1')
version('1.6.0', sha256='ae45d388c98c5e33d552d5e3216c1f92bf97d5dd01c669107084c1f3202fcd5a')
Expand Down Expand Up @@ -54,29 +55,30 @@ class Pdi(CMakePackage):
variant('python', default=True, description='Enable Python support')

depends_on('[email protected]:', type=('link'), when='@1.5:1.7 +benchs')
depends_on('[email protected]:', type=('build'))
depends_on('[email protected]:', type=('build'), when='+docs')
depends_on('[email protected]:', type=('build'), when='+tests')
depends_on('[email protected]:', type=('build'), when='@1.5:')
depends_on('[email protected]:', type=('build'))
depends_on('[email protected]:', type=('build'), when='+docs')
depends_on('[email protected]:', type=('build'), when='+tests')
depends_on('[email protected]:', type=('build'), when='@1.5:')
depends_on('[email protected]:', type=('build'), when='@1.8:')
depends_on('[email protected]:', type=('build'), when='+docs')
depends_on('[email protected]:', type=('build'), when='@1.4.3: +docs')
depends_on('[email protected]:', type=('build'), when='@1.8: +docs')
depends_on('[email protected]:', type=('link'), when='@1.5')
depends_on('[email protected]: +gmock', type=('link'), when='@:1.7 +tests')
depends_on('paraconf@1:', type=('link', 'run'), when='@1.6:')
depends_on('[email protected]:', type=('link', 'run'), when='@1.5:')
depends_on('paraconf +fortran', type=('link', 'run'), when='+fortran')
depends_on('paraconf@1:', type=('link', 'run'), when='@1.6:')
depends_on('[email protected]:', type=('link', 'run'), when='@1.5:')
depends_on('paraconf +fortran', type=('link', 'run'), when='+fortran')
depends_on('[email protected]: +shared', type=('link', 'run'))
depends_on('pkgconfig', type=('build'))
depends_on('[email protected]:', type=('build', 'link', 'run'), when='+python')
depends_on('[email protected]:', type=('build', 'link', 'run'), when='@1.8: +python')
depends_on('[email protected]:2', type=('link'), when='+python')
depends_on('py-pybind11@:2.11', type=('link'), when='@:1.6 +python')
depends_on('[email protected]:2', type=('link'), when='+python')
depends_on('py-pybind11@:2.11', type=('link'), when='@:1.6 +python')
depends_on('[email protected]:', type=('link'), when='@1.8: +python')
depends_on('py-setuptools', type=('build'), when='+python^[email protected]:')
depends_on('[email protected]:1', type=('link', 'run'))
depends_on('[email protected]:', type=('link'), when='@1.5:')
depends_on('[email protected]:', type=('build'), when='@:1.7 +fortran')
depends_on('[email protected]:', type=('link'), when='@1.5:')
depends_on('[email protected]:', type=('build'), when='@:1.7 +fortran')
depends_on('[email protected]:', type=('build'), when='@1.5:1.7 +fortran')

root_cmakelists_dir = 'pdi'
Expand Down
1 change: 1 addition & 0 deletions packages/pdiplugin-decl-hdf5/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class PdipluginDeclHdf5(CMakePackage):
maintainers = ['jbigot']

version('develop', branch='main', no_cache=True)
version('1.8.1', sha256='43f0c0b2bda5515ecf99da7be1600af2c1f669d6c73e3f309275b14940c7e35c')
version('1.8.0', sha256='5d353bfa64f45ee4715b88bd30330030f79f2020cd6bede0ad9b8f9beddadea9')
version('1.7.1', sha256='d67e3a498bfe4491c4e9aeb40015b32481a7902b122f087dcebf05451a3d9ce1')
version('1.6.0', sha256='ae45d388c98c5e33d552d5e3216c1f92bf97d5dd01c669107084c1f3202fcd5a')
Expand Down
1 change: 1 addition & 0 deletions packages/pdiplugin-decl-netcdf/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class PdipluginDeclNetcdf(CMakePackage):
maintainers = ['jbigot']

version('develop', branch='main', no_cache=True)
version('1.8.1', sha256='43f0c0b2bda5515ecf99da7be1600af2c1f669d6c73e3f309275b14940c7e35c')
version('1.8.0', sha256='5d353bfa64f45ee4715b88bd30330030f79f2020cd6bede0ad9b8f9beddadea9')
version('1.7.1', sha256='d67e3a498bfe4491c4e9aeb40015b32481a7902b122f087dcebf05451a3d9ce1')
version('1.6.0', sha256='ae45d388c98c5e33d552d5e3216c1f92bf97d5dd01c669107084c1f3202fcd5a')
Expand Down
1 change: 1 addition & 0 deletions packages/pdiplugin-mpi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class PdipluginMpi(CMakePackage):
maintainers = ['jbigot']

version('develop', branch='main', no_cache=True)
version('1.8.1', sha256='43f0c0b2bda5515ecf99da7be1600af2c1f669d6c73e3f309275b14940c7e35c')
version('1.8.0', sha256='5d353bfa64f45ee4715b88bd30330030f79f2020cd6bede0ad9b8f9beddadea9')
version('1.7.1', sha256='d67e3a498bfe4491c4e9aeb40015b32481a7902b122f087dcebf05451a3d9ce1')
version('1.6.0', sha256='ae45d388c98c5e33d552d5e3216c1f92bf97d5dd01c669107084c1f3202fcd5a')
Expand Down
8 changes: 5 additions & 3 deletions packages/pdiplugin-pycall/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class PdipluginPycall(CMakePackage):
maintainers = ['jbigot']

version('develop', branch='main', no_cache=True)
version('1.8.1', sha256='43f0c0b2bda5515ecf99da7be1600af2c1f669d6c73e3f309275b14940c7e35c')
version('1.8.0', sha256='5d353bfa64f45ee4715b88bd30330030f79f2020cd6bede0ad9b8f9beddadea9')
version('1.7.1', sha256='d67e3a498bfe4491c4e9aeb40015b32481a7902b122f087dcebf05451a3d9ce1')
version('1.6.0', sha256='ae45d388c98c5e33d552d5e3216c1f92bf97d5dd01c669107084c1f3202fcd5a')
Expand All @@ -45,8 +46,8 @@ class PdipluginPycall(CMakePackage):
variant('tests', default=False, description='Build tests')

depends_on('[email protected]:', type=('build'), when='@1.8:')
depends_on('[email protected]:', type=('build'), when='@1.5:')
depends_on('[email protected]:', type=('build'), when='@:1.4.3')
depends_on('[email protected]:', type=('build'), when='@1.5:')
depends_on('[email protected]:', type=('build'), when='@:1.4.3')
depends_on('pdi+python@develop', type=('link', 'run'), when='@develop')
depends_on('[email protected]', type=('link', 'run'), when='@1.8.0')
depends_on('[email protected]', type=('link', 'run'), when='@1.7.1')
Expand All @@ -70,7 +71,8 @@ class PdipluginPycall(CMakePackage):
depends_on('[email protected]', type=('link', 'run'), when='@1.0.1')
depends_on('[email protected]', type=('link', 'run'), when='@1.0.0')
depends_on('[email protected]', type=('link', 'run'), when='@0.6.5')
depends_on('pkgconfig', type=('build'))
depends_on('py-setuptools', type=('build'), when='+python^[email protected]:')
depends_on('pkgconfig', type=('build'))

root_cmakelists_dir = 'plugins/pycall'

Expand Down
1 change: 1 addition & 0 deletions packages/pdiplugin-serialize/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class PdipluginSerialize(CMakePackage):
maintainers = ['jbigot']

version('develop', branch='main', no_cache=True)
version('1.8.1', sha256='43f0c0b2bda5515ecf99da7be1600af2c1f669d6c73e3f309275b14940c7e35c')
version('1.8.0', sha256='5d353bfa64f45ee4715b88bd30330030f79f2020cd6bede0ad9b8f9beddadea9')
version('1.7.1', sha256='d67e3a498bfe4491c4e9aeb40015b32481a7902b122f087dcebf05451a3d9ce1')
version('1.6.0', sha256='ae45d388c98c5e33d552d5e3216c1f92bf97d5dd01c669107084c1f3202fcd5a')
Expand Down
1 change: 1 addition & 0 deletions packages/pdiplugin-set-value/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class PdipluginSetValue(CMakePackage):
maintainers = ['jbigot']

version('develop', branch='main', no_cache=True)
version('1.8.1', sha256='43f0c0b2bda5515ecf99da7be1600af2c1f669d6c73e3f309275b14940c7e35c')
version('1.8.0', sha256='5d353bfa64f45ee4715b88bd30330030f79f2020cd6bede0ad9b8f9beddadea9')
version('1.7.1', sha256='d67e3a498bfe4491c4e9aeb40015b32481a7902b122f087dcebf05451a3d9ce1')
version('1.6.0', sha256='ae45d388c98c5e33d552d5e3216c1f92bf97d5dd01c669107084c1f3202fcd5a')
Expand Down
1 change: 1 addition & 0 deletions packages/pdiplugin-trace/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class PdipluginTrace(CMakePackage):
maintainers = ['jbigot']

version('develop', branch='main', no_cache=True)
version('1.8.1', sha256='43f0c0b2bda5515ecf99da7be1600af2c1f669d6c73e3f309275b14940c7e35c')
version('1.8.0', sha256='5d353bfa64f45ee4715b88bd30330030f79f2020cd6bede0ad9b8f9beddadea9')
version('1.7.1', sha256='d67e3a498bfe4491c4e9aeb40015b32481a7902b122f087dcebf05451a3d9ce1')
version('1.6.0', sha256='ae45d388c98c5e33d552d5e3216c1f92bf97d5dd01c669107084c1f3202fcd5a')
Expand Down
1 change: 1 addition & 0 deletions packages/pdiplugin-user-code/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class PdipluginUserCode(CMakePackage):
maintainers = ['jbigot']

version('develop', branch='main', no_cache=True)
version('1.8.1', sha256='43f0c0b2bda5515ecf99da7be1600af2c1f669d6c73e3f309275b14940c7e35c')
version('1.8.0', sha256='5d353bfa64f45ee4715b88bd30330030f79f2020cd6bede0ad9b8f9beddadea9')
version('1.7.1', sha256='d67e3a498bfe4491c4e9aeb40015b32481a7902b122f087dcebf05451a3d9ce1')
version('1.6.0', sha256='ae45d388c98c5e33d552d5e3216c1f92bf97d5dd01c669107084c1f3202fcd5a')
Expand Down

0 comments on commit 2ef9c38

Please sign in to comment.