easyblock = 'AllineaBase'
# !!! --include-easyblocks /apps/easybuild/python/easybuild/easyblocks/a/allineabase.py !!!

name = 'Forge'
version = '5.1-43967'

homepage = 'http://www.allinea.com/products/develop-allinea-forge'
description = """Allinea Forge is the complete toolsuite for software development 
- with everything needed to debug, profile, optimize, edit and build C, C++ 
and FORTRAN applications on Linux for high performance - from single threads through 
to complex parallel HPC codes with MPI, OpenMP, threads or CUDA.
"""

toolchain = {'name': 'dummy', 'version': 'dummy'}

source_urls = [
    # Use manually downloaded sources
    # http://content.allinea.com/downloads/allinea-forge-latest-Redhat-6.0-x86_64+MIC-2.1-k1om.tar
    # and rename it to format %(namelower)s-%(version)s.tar, so forge-5.1-43967.tar.
]

#### IMPORTANT NOTE! ####
# Right now, we do not have support for
# copying Allinea licence file to the 
# installation directory
# You have to copy file manually 
# to the %(installdir)s/licences/ directory!
###########################

sources = [SOURCELOWER_TAR]

skipsteps = ['configure', 'build']

sanity_check_paths = {
    'files': ['bin/ddt'],
    'dirs': ['lib'],
}

moduleclass = 'debugger'
