OpenSpeedShop package: add support for building on cray (#7338)

This commit is contained in:
Jim Galarowicz
2018-03-07 16:26:07 -06:00
committed by scheibelp
parent f393a2c146
commit 7f3a72fb33
10 changed files with 233 additions and 82 deletions

View File

@@ -1,5 +1,5 @@
##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
@@ -23,7 +23,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
##########################################################################
# Copyright (c) 2015-2017 Krell Institute. All Rights Reserved.
# Copyright (c) 2015-2018 Krell Institute. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
@@ -53,9 +53,11 @@ class Cbtf(CMakePackage):
homepage = "http://sourceforge.net/p/cbtf/wiki/Home"
# Use when the git repository is available
version('1.8', branch='master',
version('1.9.1', 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'),
@@ -64,6 +66,7 @@ class Cbtf(CMakePackage):
depends_on("cmake@3.0.2:", type='build')
depends_on("boost@1.50.0:1.59.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")
@@ -83,7 +86,8 @@ def cmake_args(self):
compile_flags = "-O2 -g"
if '+runtime' in spec:
if spec.satisfies('+runtime'):
# Install message tag include file for use in Intel MIC
# cbtf-krell build
# FIXME