Jedwards/parallelio262 (#39676)

* add parallelio@2.6.2
* add comments
This commit is contained in:
Jim Edwards 2023-08-29 14:44:54 -06:00 committed by GitHub
parent 0620b954be
commit fcd03adc02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@ class Parallelio(CMakePackage):
maintainers("jedwards4b") maintainers("jedwards4b")
version("2.6.2", sha256="c318894f0230197458917e932ec66301b4407a744df481e9c6a6d9d85f7e5ab1")
version("2.6.1", sha256="83d3108d2b9db8219aa6b6ee333cfc12b2a588bcfc781587df5f8b24a716a6eb") version("2.6.1", sha256="83d3108d2b9db8219aa6b6ee333cfc12b2a588bcfc781587df5f8b24a716a6eb")
version("2.6.0", sha256="e56a980c71c7f57f396a88beae08f1670d4adf59be6411cd573fe85868ef98c0") version("2.6.0", sha256="e56a980c71c7f57f396a88beae08f1670d4adf59be6411cd573fe85868ef98c0")
version("2.5.10", sha256="fac694827c81434a7766976711ba7179940e361e8ed0c189c7b397fd44d401de") version("2.5.10", sha256="fac694827c81434a7766976711ba7179940e361e8ed0c189c7b397fd44d401de")
@ -37,13 +38,13 @@ class Parallelio(CMakePackage):
) )
variant("mpi", default=True, description="Use mpi to build, otherwise use mpi-serial") variant("mpi", default=True, description="Use mpi to build, otherwise use mpi-serial")
# This patch addresses building pio2.6.1 with serial netcdf, again the issue is netcdf filters # This patch addresses building pio2.6.1 with serial netcdf, the issue is netcdf filters
patch("serial261.patch", when="@2.6.1") patch("serial261.patch", when="@2.6.1")
patch("remove_redefinition_of_mpi_offset.patch", when="@:2.5.6")
# This patch addresses an issue when compiling pio2.6.0 with a serial netcdf library. # This patch addresses an issue when compiling pio2.6.0 with a serial netcdf library.
# netcdf4 filters are only available with the parallel build of netcdf. # netcdf4 filters are only available with the parallel build of netcdf.
patch("pio_260.patch", when="@2.6.0") patch("pio_260.patch", when="@2.6.0")
patch("remove_redefinition_of_mpi_offset.patch", when="@:2.5.6")
depends_on("cmake@3.7:", type="build") depends_on("cmake@3.7:", type="build")
depends_on("mpi", when="+mpi") depends_on("mpi", when="+mpi")