diff options
author | Teo <wraith1995@users.noreply.github.com> | 2024-07-24 19:22:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-24 16:22:51 -0700 |
commit | f3acf201c4908f5fd44242676b98ed84ca4b91fd (patch) | |
tree | 35eb26e77593616a478995fb622e8891560dd2d1 | |
parent | e5364ea832abb7ed79f4cbdc7addf8afe6bb353f (diff) | |
download | spack-f3acf201c4908f5fd44242676b98ed84ca4b91fd.tar.gz spack-f3acf201c4908f5fd44242676b98ed84ca4b91fd.tar.bz2 spack-f3acf201c4908f5fd44242676b98ed84ca4b91fd.tar.xz spack-f3acf201c4908f5fd44242676b98ed84ca4b91fd.zip |
halide: add v18.0.0 (#45401)
* Added Halide 18
* Fix style+other stuff
* Accept compiler deps
* 17.0.2 too
* reorder versions
-rw-r--r-- | var/spack/repos/builtin/packages/halide/package.py | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/halide/package.py b/var/spack/repos/builtin/packages/halide/package.py index 2a4f1448ec..e8446550e0 100644 --- a/var/spack/repos/builtin/packages/halide/package.py +++ b/var/spack/repos/builtin/packages/halide/package.py @@ -17,14 +17,15 @@ class Halide(CMakePackage, PythonExtension): maintainers("wraith1995") version("main", branch="main") + version("18.0.0", sha256="1176b42a3e2374ab38555d9316c78e39b157044b5a8e765c748bf3afd2edb351") + version("17.0.2", sha256="5f3a43ba27b47d3dcbcee963faabf1d633d4151031e60b6ff7cc62472e5677a0") + version("17.0.1", sha256="beb18331d9e4b6f69943bcc75fb9d923a250ae689f09f6940a01636243289727") + version("17.0.0", sha256="7e5a526b4074887b528d25b0265ddfa92c0a6d8bfdfbbba536313ecddf352da3") + version("16.0.0", sha256="a0cccee762681ea697124b8172dd65595856d0fa5bd4d1af7933046b4a085b04") version("15.0.0", sha256="6680424f80c5731a85d977c06327096afe5af31da3667e91d4d36a25fabdda15") version("14.0.0", sha256="f9fc9765217cbd10e3a3e3883a60fc8f2dbbeaac634b45c789577a8a87999a01") - version("16.0.0", sha256="a0cccee762681ea697124b8172dd65595856d0fa5bd4d1af7933046b4a085b04") - version("17.0.0", sha256="7e5a526b4074887b528d25b0265ddfa92c0a6d8bfdfbbba536313ecddf352da3") - version("17.0.1", sha256="beb18331d9e4b6f69943bcc75fb9d923a250ae689f09f6940a01636243289727") - - depends_on("c", type="build") # generated - depends_on("cxx", type="build") # generated + depends_on("c", type="build") + depends_on("cxx", type="build") variant( "build_type", default="Release", @@ -68,6 +69,8 @@ class Halide(CMakePackage, PythonExtension): depends_on("llvm@15.0.0:15", type=("link", "run"), when="@15.0.0:15") depends_on("llvm@16.0.0:16", type=("link", "run"), when="@16.0.0:16") depends_on("llvm@17.0.0:17", type=("link", "run"), when="@17.0.0:17") + depends_on("llvm@17.0.0:18", type=("link", "run"), when="@18.0.0:18") + for v in _values: depends_on( "llvm targets={0}".format(v), type=("link", "run"), when="targets={0}".format(v) @@ -79,7 +82,8 @@ class Halide(CMakePackage, PythonExtension): depends_on("python@3.8:", type=("build", "link", "run"), when="+python") # See https://github.com/halide/Halide/blob/main/requirements.txt - depends_on("py-pybind11@2.6.2", type="build", when="+python") + depends_on("py-pybind11@2.6.2", type="build", when="@14.0.0:17+python") + depends_on("py-pybind11@2.10.4", type="build", when="@18.0.0:+python") depends_on("py-setuptools@43:", type="build", when="+python") depends_on("py-scikit-build", type="build", when="+python") depends_on("py-wheel", type="build", when="+python") |