Home
last modified time | relevance | path

Searched refs:cmake_vars (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/third_party/llvm/
Dexpand_cmake_vars.py40 def _expand_variables(input_str, cmake_vars): argument
51 if match.group(1) in cmake_vars:
52 return cmake_vars[match.group(1)]
57 def _expand_cmakedefines(line, cmake_vars): argument
65 if name in cmake_vars:
67 _expand_variables(suffix, cmake_vars))
75 value = cmake_vars.get(name, "0")
79 return _expand_variables(line, cmake_vars)
83 cmake_vars = _parse_args(sys.argv[1:])
85 sys.stdout.write(_expand_cmakedefines(line, cmake_vars))
Dllvm.bzl109 def cmake_var_string(cmake_vars):
118 cmake_vars: a dictionary with string keys and values that are convertable to
122 cmake_vars in a form suitable for passing to expand_cmake_vars.
126 for (k, v) in cmake_vars.items()
129 def expand_cmake_vars(name, src, dst, cmake_vars):
136 cmake_vars: a string containing the CMake variables, as generated by
145 cmd = ("$(location {}) ".format(expand_cmake_vars_tool) + cmake_vars +
153 cmake_vars = {
304 cmake_vars,
312 cmake_vars,
[all …]
Dllvm.autogenerated.BUILD49 cmake_vars = llvm_all_cmake_vars,
56 cmake_vars = llvm_all_cmake_vars,
63 cmake_vars = llvm_all_cmake_vars,
/external/tensorflow/third_party/llvm_openmp/
DBUILD95 cmake_vars = omp_all_cmake_vars,
102 cmake_vars = omp_all_cmake_vars,