taucmdr.cli.commands.target.create module

target create subcommand.

class taucmdr.cli.commands.target.create.TargetCreateCommand(*args, **kwargs)[source]

Bases: taucmdr.cli.cli_view.CreateCommand

target create subcommand.

_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.

main(argv)[source]
parse_compiler_flags(args)[source]

Create a dictionary of InstalledCompiler instances from commandl line arguments.

Parameters:args – A namespace of parsed command line arguments.
Returns:InstalledCompiler instances indexed by role keyword.
Return type:dict