summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Trahay <francois.trahay@telecom-sudparis.eu>2022-03-22 17:46:39 +0100
committerGitHub <noreply@github.com>2022-03-22 10:46:39 -0600
commit6760175289e620fb4af6ff61d3a98116315af8e4 (patch)
treec5884de6b77cd1f4d09c1648bab037ae801fbd00
parenta14901f79288bb739aa5a2e056c085759327a97b (diff)
downloadspack-6760175289e620fb4af6ff61d3a98116315af8e4.tar.gz
spack-6760175289e620fb4af6ff61d3a98116315af8e4.tar.bz2
spack-6760175289e620fb4af6ff61d3a98116315af8e4.tar.xz
spack-6760175289e620fb4af6ff61d3a98116315af8e4.zip
New package: Vite (#29489)
-rw-r--r--var/spack/repos/builtin/packages/vite/package.py41
1 files changed, 41 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/vite/package.py b/var/spack/repos/builtin/packages/vite/package.py
new file mode 100644
index 0000000000..e551ba8aea
--- /dev/null
+++ b/var/spack/repos/builtin/packages/vite/package.py
@@ -0,0 +1,41 @@
+# Copyright 2013-2022 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 Vite(CMakePackage):
+ """ViTE is a trace explorer. It is a tool to visualize execution
+ traces in Paje or OTF2 format for debugging and profiling parallel or
+ distributed applications.
+ """
+
+ homepage = "https://solverstack.gitlabpages.inria.fr/vite/"
+ maintainers = ['trahay']
+ git = "https://gitlab.inria.fr/solverstack/vite.git"
+
+ version('master', branch='master')
+
+ depends_on('cmake@3.1:', type='build')
+ depends_on('qt+opengl')
+ depends_on('glm')
+ depends_on('glew')
+ depends_on('otf2', when='+otf2')
+ depends_on('tau', when='+tau')
+
+ variant('tau', default=False, description='Support for TAU trace format')
+ variant('otf2', default=False, description='Support for OTF2 trace format')
+
+ def cmake_args(self):
+ define = CMakePackage.define
+ from_variant = self.define_from_variant
+ args = [
+ define("USE_QT5", True),
+ define("USE_OPENGL", True),
+ define("USE_VBO", False),
+ from_variant("VITE_ENABLE_OTF2", "otf2"),
+ from_variant("VITE_ENABLE_TAU", "tau"),
+ ]
+ return args