Add languages to PDI ecosystem (#49957)

This commit is contained in:
Thomas Padioleau 2025-04-09 05:30:23 +02:00 committed by GitHub
parent f4f1606298
commit ae78c7698a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 33 additions and 0 deletions

View File

@ -31,6 +31,10 @@ class Paraconf(CMakePackage):
variant("fortran", default=True, description="Enable Fortran support") variant("fortran", default=True, description="Enable Fortran support")
variant("tests", default=False, description="Build tests") variant("tests", default=False, description="Build tests")
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("fortran", type="build", when="+fortran")
depends_on("cmake@3.5:", type=("build")) depends_on("cmake@3.5:", type=("build"))
depends_on("pkgconfig", type=("build")) depends_on("pkgconfig", type=("build"))
depends_on("libyaml@0.1.7:", type=("link", "run")) depends_on("libyaml@0.1.7:", type=("link", "run"))

View File

@ -32,6 +32,10 @@ class Pdi(CMakePackage):
variant("fortran", default=True, description="Enable Fortran support") variant("fortran", default=True, description="Enable Fortran support")
variant("python", default=True, description="Enable Python support") variant("python", default=True, description="Enable Python support")
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("fortran", type="build", when="+fortran")
depends_on("cmake@3.16.3:", type=("build"), when="@1.8:") depends_on("cmake@3.16.3:", type=("build"), when="@1.8:")
depends_on("doxygen@1.8.17:", type=("build"), when="@1.8: +docs") depends_on("doxygen@1.8.17:", type=("build"), when="@1.8: +docs")
depends_on("paraconf@1:", type=("link", "run"), when="@1.6:") depends_on("paraconf@1:", type=("link", "run"), when="@1.6:")

View File

@ -28,6 +28,10 @@ class PdipluginDeclHdf5(CMakePackage):
variant("tests", default=False, description="Build tests") variant("tests", default=False, description="Build tests")
variant("mpi", default=True, description="Enable parallel HDF5") variant("mpi", default=True, description="Enable parallel HDF5")
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("fortran", type="build", when="+fortran")
depends_on("cmake@3.16.3:", type=("build"), when="@1.8:") depends_on("cmake@3.16.3:", type=("build"), when="@1.8:")
depends_on("hdf5@1.10.4:1 +shared", type=("build", "link", "run"), when="@1.8:") depends_on("hdf5@1.10.4:1 +shared", type=("build", "link", "run"), when="@1.8:")
depends_on("hdf5 +mpi", type=("build", "link", "run"), when="+mpi") depends_on("hdf5 +mpi", type=("build", "link", "run"), when="+mpi")

View File

@ -24,6 +24,9 @@ class PdipluginDeclNetcdf(CMakePackage):
variant("tests", default=False, description="Build tests") variant("tests", default=False, description="Build tests")
variant("mpi", default=True, description="Enable parallel NetCDF") variant("mpi", default=True, description="Enable parallel NetCDF")
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("cmake@3.16.3:", type=("build"), when="@1.8:") depends_on("cmake@3.16.3:", type=("build"), when="@1.8:")
depends_on("netcdf-c@4.7.3:4", type=("link"), when="@1.8:") depends_on("netcdf-c@4.7.3:4", type=("link"), when="@1.8:")
depends_on("netcdf-c@4.6.2:4+mpi", type=("link"), when="+mpi") depends_on("netcdf-c@4.6.2:4+mpi", type=("link"), when="+mpi")

View File

@ -22,6 +22,9 @@ class PdipluginMpi(CMakePackage):
variant("tests", default=False, description="Build tests") variant("tests", default=False, description="Build tests")
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("cmake@3.16.3:", type=("build"), when="@1.8:") depends_on("cmake@3.16.3:", type=("build"), when="@1.8:")
depends_on("mpi", type=("build", "link", "run")) depends_on("mpi", type=("build", "link", "run"))
depends_on("pdi@develop", type=("link", "run"), when="@develop") depends_on("pdi@develop", type=("link", "run"), when="@develop")

View File

@ -22,6 +22,9 @@ class PdipluginPycall(CMakePackage):
variant("tests", default=False, description="Build tests") variant("tests", default=False, description="Build tests")
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("cmake@3.16.3:", type=("build"), when="@1.8:") depends_on("cmake@3.16.3:", type=("build"), when="@1.8:")
depends_on("pdi+python@develop", type=("link", "run"), when="@develop") depends_on("pdi+python@develop", type=("link", "run"), when="@develop")
depends_on("pdi+python@1.8.1", type=("link", "run"), when="@1.8.1") depends_on("pdi+python@1.8.1", type=("link", "run"), when="@1.8.1")

View File

@ -23,6 +23,9 @@ class PdipluginSerialize(CMakePackage):
variant("tests", default=False, description="Build tests") variant("tests", default=False, description="Build tests")
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("cmake@3.16.3:", type=("build"), when="@1.8:") depends_on("cmake@3.16.3:", type=("build"), when="@1.8:")
depends_on("pdi@develop", type=("link", "run"), when="@develop") depends_on("pdi@develop", type=("link", "run"), when="@develop")
depends_on("pdi@1.8.1", type=("link", "run"), when="@1.8.1") depends_on("pdi@1.8.1", type=("link", "run"), when="@1.8.1")

View File

@ -23,6 +23,9 @@ class PdipluginSetValue(CMakePackage):
variant("tests", default=False, description="Build tests") variant("tests", default=False, description="Build tests")
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("cmake@3.16.3:", type=("build"), when="@1.8:") depends_on("cmake@3.16.3:", type=("build"), when="@1.8:")
depends_on("pdi@develop", type=("link", "run"), when="@develop") depends_on("pdi@develop", type=("link", "run"), when="@develop")
depends_on("pdi@1.8.1", type=("link", "run"), when="@1.8.1") depends_on("pdi@1.8.1", type=("link", "run"), when="@1.8.1")

View File

@ -23,6 +23,9 @@ class PdipluginTrace(CMakePackage):
variant("tests", default=False, description="Build tests") variant("tests", default=False, description="Build tests")
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("cmake@3.16.3:", type=("build"), when="@1.8:") depends_on("cmake@3.16.3:", type=("build"), when="@1.8:")
depends_on("pdi@develop", type=("link", "run"), when="@develop") depends_on("pdi@develop", type=("link", "run"), when="@develop")
depends_on("pdi@1.8.1", type=("link", "run"), when="@1.8.1") depends_on("pdi@1.8.1", type=("link", "run"), when="@1.8.1")

View File

@ -24,6 +24,9 @@ class PdipluginUserCode(CMakePackage):
variant("tests", default=False, description="Build tests") variant("tests", default=False, description="Build tests")
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("cmake@3.16.3:", type=("build"), when="@1.8:") depends_on("cmake@3.16.3:", type=("build"), when="@1.8:")
depends_on("pdi@develop", type=("link", "run"), when="@develop") depends_on("pdi@develop", type=("link", "run"), when="@develop")
depends_on("pdi@1.8.1", type=("link", "run"), when="@1.8.1") depends_on("pdi@1.8.1", type=("link", "run"), when="@1.8.1")