taucmdr.cf.software.binutils_installation module

Binutils software installation management.

GNU binutils provildes BFD, which TAU uses for symbol resolution during sampling, compiler-based instrumentation, and other measurement approaches.

class taucmdr.cf.software.binutils_installation.BinutilsInstallation(sources, target_arch, target_os, compilers)[source]

Bases: taucmdr.cf.software.installation.AutotoolsInstallation

Encapsulates a GNU binutils installation.

compiletime_config(opts=None, env=None)[source]

Configure compilation environment to use this software package.

Don’t put self.bin_path in PATH since this offends ld on some systems.

Parameters:
  • opts (list) – Optional list of command line options.
  • env (dict) – Optional dictionary of environment variables.
Returns:

opts, env updated for the new environment.

Return type:

tuple

configure(flags)[source]
make_install(flags)[source]
runtime_config(opts=None, env=None)[source]

Configure runtime environment to use this software package.

Don’t put self.bin_path in PATH since this offends ld on some systems but do put self.lib_path in LD_LIBRARY_PATH.

Parameters:
  • opts (list) – Optional list of command line options.
  • env (dict) – Optional dictionary of environment variables.
Returns:

opts, env updated for the new environment.

Return type:

tuple