tvm_tirx.support.clang.find_clang

Contents

tvm_tirx.support.clang.find_clang#

tvm_tirx.support.clang.find_clang(required=True)#

Find clang in system.

Parameters:

required (bool) – Whether it is required, runtime error will be raised if the compiler is required.

Returns:

valid_list (list of str) – List of possible paths.

Note

This function will first search clang that matches the major llvm version that built with tvm