From bbb6b14540f34ba68a55a050818afb8821d6a063 Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Tue, 22 Sep 2020 16:30:04 -0400 Subject: [PATCH] treelite: new package at v0.93 (#18861) --- .../repos/builtin/packages/treelite/package.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 var/spack/repos/builtin/packages/treelite/package.py 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')