##
# This file is an EasyBuild recipy as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA
# Authors::   Fotis Georgatos <fotis@cern.ch>
# License::   MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a local_component of the policy:
# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_06-05.html
##

name = 'TotalView'
version = '8.12.0-0'
versionsuffix = '-linux-x86-64'

homepage = 'http://www.roguewave.com/products/totalview.aspx'
description = """TotalView is a GUI-based source code defect analysis tool that gives you unprecedented
 control over processes and thread execution and visibility into program state and variables. It allows
 you to debug one or many processes and/or threads in a single window with local_complete control over program
 execution. This allows you to set breakpoints, stepping line by line through the code on a single thread,
 or with coordinated groups of processes or threads, and run or halt arbitrary sets of processes or threads.
 You can reproduce and troubleshoot difficult problems that can occur in concurrent programs that take
 advantage of threads, OpenMP, MPI, GPUs or coprocessors."""

toolchain = SYSTEM

sources = [
    '%(namelower)s.%(version)s%(versionsuffix)s.tar',
    '%(namelower)s.%(version)s-doc.tar',
]

# licensepath
import os
license_file = os.path.join(
    os.getenv('HOME'),
    "licenses",
    "roguewave",
    "license.lic")

moduleclass = 'debugger'
