summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2020-09-22 16:30:04 -0400
committerGitHub <noreply@github.com>2020-09-22 22:30:04 +0200
commitbbb6b14540f34ba68a55a050818afb8821d6a063 (patch)
tree67abde665da64a48a553175ae46f601a7ad213d2
parent92b8177b7713d830267bda40781e47ca97af6b3d (diff)
downloadspack-bbb6b14540f34ba68a55a050818afb8821d6a063.tar.gz
spack-bbb6b14540f34ba68a55a050818afb8821d6a063.tar.bz2
spack-bbb6b14540f34ba68a55a050818afb8821d6a063.tar.xz
spack-bbb6b14540f34ba68a55a050818afb8821d6a063.zip
treelite: new package at v0.93 (#18861)
-rw-r--r--var/spack/repos/builtin/packages/treelite/package.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/treelite/package.py b/var/spack/repos/builtin/packages/treelite/package.py
new file mode 100644
index 0000000000..c379b028ae
--- /dev/null
+++ b/var/spack/repos/builtin/packages/treelite/package.py
@@ -0,0 +1,16 @@
+# Copyright 2013-2020 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 Treelite(CMakePackage):
+ """Treelite is a model compiler for efficient deployment of
+ decision tree ensembles."""
+
+ homepage = "https://github.com/dmlc/treelite"
+ url = "https://github.com/dmlc/treelite/archive/0.93.tar.gz"
+
+ version('0.93', sha256='7d347372f7fdc069904afe93e69ed0bf696ba42d271fe2f8bf6835d2ab2f45d5')