summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorravil-mobile <ravil.mobile.com@gmail.com>2022-02-11 10:36:46 +0100
committerGitHub <noreply@github.com>2022-02-11 10:36:46 +0100
commit73463f61d784235d10ec62e15cfe10186bb0b6e0 (patch)
tree9627207803f86b57a082476ccde38cd6f9358059 /var
parentdff770667e1fe56e50bc867c3a63bb67407145ff (diff)
downloadspack-73463f61d784235d10ec62e15cfe10186bb0b6e0.tar.gz
spack-73463f61d784235d10ec62e15cfe10186bb0b6e0.tar.bz2
spack-73463f61d784235d10ec62e15cfe10186bb0b6e0.tar.xz
spack-73463f61d784235d10ec62e15cfe10186bb0b6e0.zip
impalajit-llvm: add new package (#28826)
Co-authored-by: ravil <ravil.dorozhinskii@tum.de>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/impalajit-llvm/package.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/impalajit-llvm/package.py b/var/spack/repos/builtin/packages/impalajit-llvm/package.py
new file mode 100644
index 0000000000..b812da1a4f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/impalajit-llvm/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2021 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 ImpalajitLlvm(CMakePackage):
+ """Impala is a calculator-like language. This is a fork of
+ the original ImpalaJIT project and was enhanced with LLVM JIT.
+ Impala acts as a backend for `easi` project.
+ """
+
+ homepage = "https://github.com/ravil-mobile/ImpalaJIT"
+ git = "https://github.com/ravil-mobile/ImpalaJIT"
+
+ maintainers = ['ravil-mobile']
+
+ version('develop', branch='master')
+ version('1.0.0', tag='v1.0.0')
+
+ variant('shared', default=True, description='build as a shared library')
+
+ depends_on('llvm@10.0.0:11.1.0')
+ depends_on('z3')
+
+ def cmake_args(self):
+ args = []
+ args.append(self.define_from_variant('SHARED_LIB', 'shared'))
+ return args