Add the build_type variant back into the openspeedshop package file.
This commit is contained in:
parent
5013d2267e
commit
a1274a7f51
@ -77,10 +77,14 @@ class Openspeedshop(CMakePackage):
|
|||||||
to point to target build.")
|
to point to target build.")
|
||||||
variant('cuda', default=False,
|
variant('cuda', default=False,
|
||||||
description="build with cuda packages included.")
|
description="build with cuda packages included.")
|
||||||
|
|
||||||
variant('gui', default='qt3', values=('none', 'qt3', 'qt4'),
|
variant('gui', default='qt3', values=('none', 'qt3', 'qt4'),
|
||||||
description='Build or not build a GUI of choice'
|
description='Build or not build a GUI of choice'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
variant('build_type', default='None', values=('None'),
|
||||||
|
description='CMake build type')
|
||||||
|
|
||||||
# MPI variants
|
# MPI variants
|
||||||
variant('openmpi', default=False,
|
variant('openmpi', default=False,
|
||||||
description="Build mpi collector for openmpi \
|
description="Build mpi collector for openmpi \
|
||||||
@ -220,6 +224,9 @@ def cmake_args(self):
|
|||||||
if guitype == 'none':
|
if guitype == 'none':
|
||||||
cmake_args.extend(
|
cmake_args.extend(
|
||||||
['-DBUILD_QT3_GUI=FALSE'])
|
['-DBUILD_QT3_GUI=FALSE'])
|
||||||
|
elif guitype == 'qt4':
|
||||||
|
cmake_args.extend(
|
||||||
|
['-DBUILD_QT3_GUI=FALSE'])
|
||||||
elif guitype == 'qt3':
|
elif guitype == 'qt3':
|
||||||
cmake_args.extend(
|
cmake_args.extend(
|
||||||
['-DQTLIB_DIR=%s'
|
['-DQTLIB_DIR=%s'
|
||||||
|
Loading…
Reference in New Issue
Block a user