cbtf-argonavis-gui: add openspeedshop-utils package to address qt conflicts (#8066)

Fixes #7946

Creates an openspeedshop-utils package that does not depend on qt3
and can be used to resolve the needs of cbtf-argonavis-gui.

Changes for creating a release versus develop build are also
included. There are package versions which are no longer relevant
(e.g. 1.3.0 for cbtf-argonavis-gui has been replaced with 1.3.0.0)
but these versions need to be kept to allow uninstalling them;
issue #8173 has been created to investigate this.
This commit is contained in:
Jim Galarowicz
2018-05-17 14:04:33 -05:00
committed by scheibelp
parent de7d13b0e8
commit dfd168d557
8 changed files with 686 additions and 208 deletions

View File

@@ -51,12 +51,22 @@ class Qtgraph(QMakePackage):
homepage = "https://github.com/OpenSpeedShop/QtGraph"
url = "https://github.com/OpenSpeedShop/QtGraph.git"
version('1.0.0.0', branch='1.0.0.0',
git='https://github.com/OpenSpeedShop/QtGraph.git')
version('1.0.0', branch='master',
git='https://github.com/OpenSpeedShop/QtGraph.git')
version('develop', branch='master',
git='https://github.com/OpenSpeedShop/QtGraph.git')
# qtgraph depends on these packages
depends_on('qt@4.8.6:')
depends_on('graphviz')
depends_on('qt@4.8.6:', when='@develop')
depends_on('qt@5.10.0', when='@1.0.0.0')
depends_on("graphviz@2.40.1:", when='@develop')
depends_on("graphviz@2.40.1", when='@1.0.0.0')
def setup_environment(self, spack_env, run_env):
"""Set up the compile and runtime environments for a package."""