From f18a10675945082b02a64f73eb808547d4a20f0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=9D=8E?= Date: Thu, 10 Oct 2024 17:17:42 +0800 Subject: [PATCH] apache-tvm: add missing dependencies (#46818) --- var/spack/repos/builtin/packages/apache-tvm/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/apache-tvm/package.py b/var/spack/repos/builtin/packages/apache-tvm/package.py index 1c689da1a09..2d3301f63a8 100644 --- a/var/spack/repos/builtin/packages/apache-tvm/package.py +++ b/var/spack/repos/builtin/packages/apache-tvm/package.py @@ -26,7 +26,9 @@ class ApacheTvm(CMakePackage, CudaPackage): depends_on("cxx", type="build") depends_on("cmake@3.18:", type="build") depends_on("python@3.7:3.8", type=("build", "run")) - depends_on("llvm@4:", type="build", when="+llvm") + depends_on("zlib-api", type=("link", "run")) + depends_on("ncurses", type=("link", "run")) + depends_on("llvm@4:18.1.8", type="build", when="+llvm") depends_on("cuda@8:", when="+cuda") def cmake_args(self):