diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/sentencepiece/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/sentencepiece/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sentencepiece/package.py b/var/spack/repos/builtin/packages/sentencepiece/package.py new file mode 100644 index 0000000000..f3b168db66 --- /dev/null +++ b/var/spack/repos/builtin/packages/sentencepiece/package.py @@ -0,0 +1,20 @@ +# 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) + + +class Sentencepiece(CMakePackage): + """Unsupervised text tokenizer for Neural Network-based text generation. + + This is the C++ package.""" + + homepage = "https://github.com/google/sentencepiece" + url = "https://github.com/google/sentencepiece/archive/v0.1.85.tar.gz" + + maintainers = ['adamjstewart'] + + version('0.1.85', sha256='dd4956287a1b6af3cbdbbd499b7227a859a4e3f41c9882de5e6bdd929e219ae6') + + depends_on('cmake@3.1:', type='build') + depends_on('gperftools') # optional, 10-40% performance improvement |