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

@@ -53,23 +53,44 @@ class Cbtf(CMakePackage):
homepage = "http://sourceforge.net/p/cbtf/wiki/Home"
# Use when the git repository is available
version('1.9.1.0', branch='1.9.1.0',
git='https://github.com/OpenSpeedShop/cbtf.git')
version('1.9.1', branch='master',
git='https://github.com/OpenSpeedShop/cbtf.git')
version('develop', branch='master',
git='https://github.com/OpenSpeedShop/cbtf.git')
variant('cti', default=False,
description="Build MRNet with the CTI startup option")
variant('runtime', default=False,
description="build only the runtime libraries and collectors.")
variant('build_type', default='None', values=('None'),
description='CMake build type')
depends_on("cmake@3.0.2:", type='build')
depends_on("boost@1.50.0:")
depends_on("mrnet@5.0.1:+lwthreads")
depends_on("mrnet@5.0.1:+cti", when='+cti')
depends_on("xerces-c@3.1.1:")
# Work around for spack libxml2 package bug, take off python when fixed
depends_on("libxml2+python")
depends_on("cmake@3.11.1", when='@1.9.1.0:', type='build')
depends_on("cmake@3.0.2:", when='@develop', type='build')
depends_on("boost@1.66.0", when='@1.9.1.0:')
depends_on("boost@1.50.0:", when='@develop')
# For MRNet
depends_on("mrnet@5.0.1-3:+cti", when='@develop+cti')
depends_on("mrnet@5.0.1-3:+lwthreads", when='@develop')
depends_on("mrnet@5.0.1-3+cti", when='@1.9.1.0:+cti')
depends_on("mrnet@5.0.1-3+lwthreads", when='@1.9.1.0:')
# For Xerces-C
depends_on("xerces-c@3.1.1:", when='@develop')
depends_on("xerces-c@3.1.4", when='@1.9.1.0:')
# For XML2
depends_on("libxml2", when='@develop')
depends_on("libxml2@2.9.4", when='@1.9.1.0:')
parallel = False