summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ytopt/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-ytopt/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-ytopt/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ytopt/package.py b/var/spack/repos/builtin/packages/py-ytopt/package.py
new file mode 100644
index 0000000000..ec70d6c06d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ytopt/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2018 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."""
+
+ homepage = "https://xgitlab.cels.anl.gov/pbalapra/ytopt"
+ url = "https://xgitlab.cels.anl.gov/pbalapra/ytopt/raw/release/dist/ytopt-0.1.0.tar.gz"
+
+ version('0.1.0', sha256='c7081fe3585a5b7a25bcb84733cd2326b72de3bfc4f84d6ad110341f24c3e612')
+
+ depends_on('py-scikit-learn', type=('build', 'run'))
+ depends_on('py-scikit-optimize', type=('build', 'run'))
+
+ def build_args(self, spec, prefix):
+ args = []
+ return args