taucmdr.cli.commands.target.create module¶
target create subcommand.
- class taucmdr.cli.commands.target.create.TargetCreateCommand(*args, **kwargs)[source]¶
Bases:
CreateCommandtarget createsubcommand.- _abc_impl = <_abc._abc_data object>¶
- static _family_flag_action(kbase, family_attr)[source]¶
Return an argparse action that sets every compiler in the chosen kbase family.
- _get_compiler_from_defaults(kbase, role)[source]¶
Use model defaults and preferred family to fill this role.
- _get_compiler_from_env(role)[source]¶
If compiler environment variable set (e.g. CC) use that value to fill this role.
- _get_compiler_from_sibling(role, sibling)[source]¶
If we know a compiler sibling then use its family information to fill this role.
- parse_compiler_flags(args)[source]¶
Create a dictionary of
InstalledCompilerinstances from commandl line arguments.- Parameters:
args – A namespace of parsed command line arguments.
- Returns:
InstalledCompiler instances indexed by role keyword.
- Return type:
- parse_tau_makefile(args)[source]¶
Set target arguments from the TAU Makefile in
args.forced_makefile.- Parameters:
args – A namespace of parsed command line arguments, updated in place.
- Raises:
ConfigurationError – The makefile can’t be read, or its
TAU_ARCHis missing, unknown, or ambiguous.