Add further missing C, C++ dependencies to packages (#47649)

This commit is contained in:
Massimiliano Culpo 2024-11-18 09:39:47 +01:00 committed by GitHub
parent 00f179ee6d
commit 5f262eb5d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 31 additions and 14 deletions

View File

@ -46,7 +46,8 @@ class Axl(CMakePackage):
deprecated=True,
)
depends_on("c", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("kvtree")
depends_on("zlib-api", type="link")

View File

@ -17,7 +17,8 @@ class Callpath(CMakePackage):
version("1.0.2", sha256="cbe42bba8b9dda259dcbe7e16ebd7ecd005eabf7e9ccf169535b03110df75c84")
version("1.0.1", sha256="9bd9723126f80d0b518c28e5298ad0fa8d8dbc6a3f03fee5ae5449cf4c9a550f")
depends_on("cxx", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("elf", type="link")
depends_on("libdwarf")

View File

@ -21,7 +21,8 @@ class Fp16(CMakePackage):
version("2018-10-10", commit="34d4bf01bbf7376f2baa71b8fa148b18524d45cf") # py-torch@1.0
version("2018-02-25", commit="43d6d17df48ebf622587e7ed9472ea76573799b9") # py-torch@:0.4
depends_on("cxx", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
generator("ninja")
depends_on("cmake@2.8.12:", type="build")

View File

@ -19,7 +19,8 @@ class Fxdiv(CMakePackage):
version("2018-11-16", commit="b742d1143724d646cd0f914646f1240eacf5bd73") # py-torch@1.0:1.5
version("2018-02-24", commit="811b482bcd9e8d98ad80c6c78d5302bb830184b0") # py-torch@0.4
depends_on("cxx", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
generator("ninja")
depends_on("cmake@3.5:", type="build")

View File

@ -48,7 +48,10 @@ class Gloo(CMakePackage, CudaPackage):
)
generator("ninja")
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("pkgconfig", type="build")
depends_on("libuv@1.26:", when="+libuv")
depends_on("cmake@2.8.12:", type="build")

View File

@ -27,7 +27,8 @@ class Googletest(CMakePackage):
version("1.7.0", sha256="f73a6546fdf9fce9ff93a5015e0333a8af3062a152a9ad6bcb772c96687016cc")
version("1.6.0", sha256="5fbc058e5b662b9c86d93ac76fefb58eec89cbf26144b49669a38ecb62758447")
depends_on("cxx", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
variant("gmock", default=True, when="@1.8:", description="Build with gmock")
variant("pthreads", default=True, description="Build multithreaded version with pthreads")

View File

@ -39,7 +39,8 @@ class HipifyClang(CMakePackage):
version("5.3.3", sha256="9d08e2896e52c10a0a189a5407567043f2510adc7bf618591c97a22a23699691")
version("5.3.0", sha256="7674900d2b9319d91fa8f469252c5acb5bedf339142417cdcb64f33ee8482e00")
depends_on("cxx", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
variant("asan", default=False, description="Build with address-sanitizer enabled or disabled")

View File

@ -43,7 +43,8 @@ class HsaRocrDev(CMakePackage):
version("5.3.3", sha256="aca88d90f169f35bd65ce3366b8670c7cdbe3abc0a2056eab805d0192cfd7130")
version("5.3.0", sha256="b51dbedbe73390e0be748b92158839c82d7fa0e514fede60aa7696dc498facf0")
depends_on("cxx", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
variant("shared", default=True, description="Build shared or static library")
variant("image", default=True, description="build with or without image support")

View File

@ -17,7 +17,8 @@ class Libspatialindex(CMakePackage):
version("1.9.3", sha256="7b44340a3edc55c11abfc453bb60f148b29f569cef9e1148583e76132e9c7379")
version("1.8.5", sha256="93cce77269612f45287b521d5afdfb245be2b93b8b6438d92f8b9e0bdb37059d")
depends_on("cxx", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("cmake@3.5.0:", type="build")

View File

@ -21,7 +21,8 @@ class Parmetis(CMakePackage):
version("4.0.3", sha256="f2d9a231b7cf97f1fee6e8c9663113ebf6c240d407d3c118c55b3633d6be6e5f")
version("4.0.2", sha256="5acbb700f457d3bda7d4bb944b559d7f21f075bb6fa4c33f42c261019ef2f0b2")
depends_on("c", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
variant("shared", default=True, description="Enables the build of shared libraries.")
variant("gdb", default=False, description="Enables gdb support.")

View File

@ -36,7 +36,8 @@ class PyOnnx(PythonPackage):
version("1.6.0", sha256="3b88c3fe521151651a0403c4d131cb2e0311bd28b753ef692020a432a81ce345")
version("1.5.0", sha256="1a584a4ef62a6db178c257fffb06a9d8e61b41c0a80bfd8bcd8a253d72c4b0b4")
depends_on("cxx", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
# CMakeLists.txt
depends_on("cmake@3.1:", type="build")

View File

@ -21,7 +21,8 @@ class PyScikitLearnExtra(PythonPackage):
version("0.2.0", sha256="3b1bb5fedde47920eb4b3fa0a0c18f80cc7359d9d0496720178788c6153b8019")
depends_on("cxx", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
# For upperbound see https://github.com/scikit-learn-contrib/scikit-learn-extra/issues/164
depends_on("python@3.6:3.10", type=("build", "run"))

View File

@ -69,8 +69,9 @@ class R(AutotoolsPackage):
version("3.1.3", sha256="07e98323935baa38079204bfb9414a029704bb9c0ca5ab317020ae521a377312")
version("3.1.2", sha256="bcd150afcae0e02f6efb5f35a6ab72432be82e849ec52ce0bb89d8c342a8fa7a")
depends_on("c", type="build") # generated
depends_on("fortran", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("fortran", type="build")
variant("X", default=False, description="Enable X11 support (TCLTK, PNG, JPEG, TIFF, CAIRO)")
variant("memory_profiling", default=False, description="Enable memory profiling")

View File

@ -73,6 +73,7 @@ class Samrai(AutotoolsPackage):
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("fortran", type="build")
# don't build SAMRAI 3+ with tools with gcc
patch("no-tool-build.patch", when="@3.0.0:%gcc")

View File

@ -26,7 +26,8 @@ class Shuffile(CMakePackage):
version("0.0.4", sha256="f0249ab31fc6123103ad67b1eaf799277c72adcf0dfcddf8c3a18bad2d45031d")
version("0.0.3", sha256="a3f685526a1146a5ad8dbacdc5f9c2e1152d9761a1a179c1db34f55afc8372f6")
depends_on("c", type="build") # generated
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("mpi")
depends_on("kvtree+mpi")