@@ -0,0 +1,900 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other%0A# Spack Project Developers. See the top-level COPYRIGHT file for details.%0A#%0A# SPDX-License-Identifier: (Apache-2.0 OR MIT)%0A%0Afrom spack import *%0A%0A%0Aclass Tdengine(CMakePackage):%0A    %22%22%22An open-source big data platform designed and optimized for the%0A    Internet of Things (IoT).%22%22%22%0A%0A    homepage = %22https://github.com/taosdata/TDengine%22%0A    url      = %22https://github.com/taosdata/TDengine/archive/ver-2.0.2.2.tar.gz%22%0A%0A    version('2.0.3.2', sha256='3eb8df894998d5592cce377b4f7e267972aee8adf9fc1ce60d1af532ffa9c1c6')%0A    version('2.0.3.1', sha256='69418815afcac8051f1aab600415669003b4aeec4ec2aaf09cab24636edaf51f')%0A%0A    @when('target=aarch64:')%0A    def cmake_args(self):%0A        args = %5B'-DCPUTYPE=aarch64'%5D%0A        return args%0A%0A    def install(self, spec, prefix):%0A        install_tree(self.build_directory + '/build', prefix)%0A

Add new package: tdengine (#18821)