# IT4Innovations 2018 easyblock = 'ConfigureMake' name = 'gperftools' version = '2.7' homepage = 'http://github.com/gperftools/gperftools' description = """gperftools are for use by developers so that they can create more robust applications. Especially of use to those developing multi-threaded applications in C++ with templates. Includes TCMalloc, heap-checker, heap-profiler and cpu-profiler.""" toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'} source_urls = [ 'https://github.com/gperftools/gperftools/releases/download/%(namelower)s-%(version)s'] sources = [SOURCE_TAR_GZ] dependencies = [('libunwind', '1.2.1', '', True)] configopts = '--enable-libunwind' sanity_check_paths = { 'files': [ 'bin/pprof', 'lib/libprofiler.a', 'lib/libprofiler.%s' % SHLIB_EXT, 'lib/libtcmalloc.a', 'lib/libtcmalloc.%s' % SHLIB_EXT], 'dirs': []} modextrapaths = {'LD_PRELOAD': 'lib/libtcmalloc_minimal.so.4'} moduleclass = 'tools'