summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ytopt-autotune/package.py
blob: 19f90a2aa86f466bc233899dbbb642f006ebe2a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2013-2021 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 import *


class PyYtoptAutotune(PythonPackage):
    """Common interface for autotuning search space and method definition."""

    maintainers = ['Kerilk', 'liuyangzhuan']

    homepage = "https://github.com/ytopt-team/autotune"
    url = "https://github.com/ytopt-team/autotune/archive/refs/tags/v1.1.0.tar.gz"
    git      = "https://github.com/ytopt-team/autotune.git"

    version('master', branch='master')
    version('1.1.0', sha256='5ee7fa6a1c83131c5ceba1537b25f00de84182e4d0e6ebd0fd6efa4e8aee1bc4')

    patch('version.patch', when='@1.1.0')

    depends_on('python@3:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')