summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ytopt/package.py
blob: 85d260d35e1f5d2a6111628cd2745d1c2d48595e (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
25
26
27
28
29
30
31
# 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 PyYtopt(PythonPackage):
    """Ytopt package implements search using Random Forest (SuRF), an autotuning
       search method developed within Y-Tune ECP project."""

    maintainers = ['Kerilk']

    homepage = "https://github.com/ytopt-team/ytopt"
    url      = "https://github.com/ytopt-team/ytopt/archive/refs/tags/v0.0.1.tar.gz"

    version('0.0.2', sha256='5a624aa678b976ff6ef867610bafcb0dfd5c8af0d880138ca5d56d3f776e6d71')
    version('0.0.1', sha256='3ca616922c8e76e73f695a5ddea5dd91b0103eada726185f008343cc5cbd7744')

    depends_on('python@3.6:', type=('build', 'run'))
    depends_on('py-scikit-learn@0.23.1', type=('build', 'run'))
    depends_on('py-dh-scikit-optimize', type=('build', 'run'))
    depends_on('py-configspace', type=('build', 'run'))
    depends_on('py-numpy', type=('build', 'run'))
    depends_on('py-ytopt-autotune@1.1:', type=('build', 'run'))
    depends_on('py-joblib', type=('build', 'run'))
    depends_on('py-deap', type=('build', 'run'))
    depends_on('py-tqdm', type=('build', 'run'))
    depends_on('py-ray', type=('build', 'run'))
    depends_on('py-mpi4py@3.0.0:', type=('build', 'run'))