summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2021-03-20 09:47:48 +0100
committerGitHub <noreply@github.com>2021-03-20 09:47:48 +0100
commit07a9723c6388486c074c9b3d88472a309ac2cd07 (patch)
treee94b1d0c12fdd89a8cddc712420b3b4598bc60ca /var
parent4aa24095c0813d19d639b587b207b9e911bb0e6d (diff)
downloadspack-07a9723c6388486c074c9b3d88472a309ac2cd07.tar.gz
spack-07a9723c6388486c074c9b3d88472a309ac2cd07.tar.bz2
spack-07a9723c6388486c074c9b3d88472a309ac2cd07.tar.xz
spack-07a9723c6388486c074c9b3d88472a309ac2cd07.zip
cube-blade: new package (#22411)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cube-blade/package.py23
-rw-r--r--var/spack/repos/builtin/packages/cube-blade/return-bool.patch9
2 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cube-blade/package.py b/var/spack/repos/builtin/packages/cube-blade/package.py
new file mode 100644
index 0000000000..79a9e3e217
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cube-blade/package.py
@@ -0,0 +1,23 @@
+# 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 CubeBlade(AutotoolsPackage):
+ """Simple OTF2 trace explorer"""
+
+ homepage = "https://www.scalasca.org/software/cube-4.x/download.html"
+ url = "http://apps.fz-juelich.de/scalasca/releases/cube/4.5/dist/blade-0.2.tar.gz"
+
+ version('0.2', sha256='ab3c5bbca79e2ec599166e75b3c96a8f6a18b3064414fc39e56f78aaae9c165c')
+
+ depends_on('cube@4.5:')
+ depends_on('cubelib@4.5:')
+ depends_on('qt@5.9.1:')
+ depends_on('otf2@2.1.1:')
+
+ # Without this patch, the Blade plugin crashes Cube on startup
+ patch('return-bool.patch')
diff --git a/var/spack/repos/builtin/packages/cube-blade/return-bool.patch b/var/spack/repos/builtin/packages/cube-blade/return-bool.patch
new file mode 100644
index 0000000000..cdeeb1e328
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cube-blade/return-bool.patch
@@ -0,0 +1,9 @@
+--- a/src/gui/BladePlugin.cpp 2021-03-19 13:32:33.609988108 +0100
++++ b/src/gui/BladePlugin.cpp 2021-03-19 13:32:49.153702599 +0100
+@@ -348,5 +348,6 @@
+ BladePlugin::checkForSalsaViewer()
+ {
+ // service->setGlobalValue( BladePlugin::BLADE_PLUGIN_NOTIFIER , QVariant( ++val ), false ); // true = notify myself
++ return true;
+ }
+