tvm_tirx.support.cc

Contents

tvm_tirx.support.cc#

Util to invoke C/C++ compilers in the system.

Functions#

get_cc()

Return the path to the default C/C++ compiler.

create_shared(output, objects[, options, ...])

Create shared library.

create_staticlib(output, inputs[, ar])

Create static library.

create_executable(output, objects[, ...])

Create executable binary.

get_global_symbol_section_map(path, *[, nm])

Get global symbols from a library via nm -g

get_target_by_dump_machine(compiler)

Functor of get_target_triple that can get the target triple using compiler.

cross_compiler(compile_func[, options, ...])

Create a cross compiler function by specializing compile_func with options.