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

name = 'Forge'
version = "7.0.2"

homepage = 'http://www.allinea.com/products/develop-allinea-forge'
description = """Allinea Forge is the local_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 local_complex parallel HPC codes with MPI, OpenMP, threads or CUDA.
"""

toolchain = SYSTEM

source_urls = [
    # Use manually downloaded sources
    # http://content.allinea.com/downloads/allinea-reports-latest-Redhat-6.0-x86_64.tar
    # and rename it to format %(namelower)s-%(version)s.tar, so
    # forge-7.0.1.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-client', 'bin/ddt-debugger', 'bin/ddt-debugger-ll', 'bin/ddt-debugger-mps', 'bin/ddt-mpirun', 'bin/forge', 'bin/make-profiler-libraries', 'bin/perf-report'],
#    'dirs': ['lib'],
#}

moduleclass = 'debugger'