diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-24 09:11:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 20:11:57 -0500 |
commit | 0aafdcfadb6153abfabb406d2e05b9ab297176db (patch) | |
tree | d6c033861f0121f9762c3e082a4253dcdbb0bf2a | |
parent | 15e75c03fff11b452b283fbcd7bb44e3b0dc8e48 (diff) | |
download | spack-0aafdcfadb6153abfabb406d2e05b9ab297176db.tar.gz spack-0aafdcfadb6153abfabb406d2e05b9ab297176db.tar.bz2 spack-0aafdcfadb6153abfabb406d2e05b9ab297176db.tar.xz spack-0aafdcfadb6153abfabb406d2e05b9ab297176db.zip |
Add new package: tdengine (#18821)
-rw-r--r-- | var/spack/repos/builtin/packages/tdengine/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tdengine/package.py b/var/spack/repos/builtin/packages/tdengine/package.py new file mode 100644 index 0000000000..4a31e8a4ab --- /dev/null +++ b/var/spack/repos/builtin/packages/tdengine/package.py @@ -0,0 +1,25 @@ +# 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 Tdengine(CMakePackage): + """An open-source big data platform designed and optimized for the + Internet of Things (IoT).""" + + homepage = "https://github.com/taosdata/TDengine" + url = "https://github.com/taosdata/TDengine/archive/ver-2.0.2.2.tar.gz" + + version('2.0.3.2', sha256='3eb8df894998d5592cce377b4f7e267972aee8adf9fc1ce60d1af532ffa9c1c6') + version('2.0.3.1', sha256='69418815afcac8051f1aab600415669003b4aeec4ec2aaf09cab24636edaf51f') + + @when('target=aarch64:') + def cmake_args(self): + args = ['-DCPUTYPE=aarch64'] + return args + + def install(self, spec, prefix): + install_tree(self.build_directory + '/build', prefix) |