1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyDace(PythonPackage):
"""DaCe is a fast parallel programming framework that takes code in
Python/NumPy and other programming languages, and maps it to
high-performance CPU, GPU, and FPGA programs, which can be
optimized programmatically or interactively."""
homepage = "https://github.com/spcl/dace"
pypi = "dace/dace-0.15.1.tar.gz"
git = "https://github.com/spcl/dace.git"
maintainers("tbennun")
version("master", branch="master", submodules=True)
version("0.15.1", sha256="69bfdbbd5c7177f2926a874f5fa82fcdef61fc532c022b4bc12e1e9218724093")
variant(
"counters",
description="Optional requirements that enable performance counter collection.",
default=False,
)
depends_on("python@3.6:3.12", type=("build", "run"))
depends_on("py-setuptools", type="build")
# Dependencies from setup.py
depends_on("py-numpy", type=("build", "run"))
depends_on("py-networkx@2.5:", type=("build", "run"))
depends_on("py-astunparse", type=("build", "run"))
# A typo in the 0.15.1 setup.py specifies sympy <= 1.9 instead of >= 1.9.
# See https://github.com/spcl/dace/pull/1483 for more information.
depends_on("py-sympy@1.9:", type=("build", "run"))
depends_on("py-pyyaml", type=("build", "run"))
depends_on("py-ply", type=("build", "run"))
depends_on("py-websockets", type=("build", "run"))
depends_on("py-requests", when="@:0.15.1", type=("build", "run"))
depends_on("py-flask", when="@:0.15.1", type=("build", "run"))
depends_on("py-fparser@0.1.3:", type=("build", "run"))
depends_on("py-aenum@3.1:", type=("build", "run"))
depends_on("py-dill", type=("build", "run"))
depends_on("py-pyreadline", when="platform=windows", type=("build", "run"))
depends_on("cmake@3.15.0:", type=("build", "run"))
# From performance counters requirements
depends_on("likwid@5.2.2:", when="+counters", type=("build", "run"))
|