Lines Matching +refs:clang +refs:format +refs:executable
28 .format(assignment, var_name),
56 clang = _execute_bash(repo_ctx, "which clang++")
59 elif clang:
60 return clang
88 """.format(
116 """.format(compiler)
124 """.format(dir = directory, hdr = header_name)
154 fail("Library {} could not be found".format(repo_name))
165 fail("Could not find required header {}".format(hdr))
174 hdrs_param = "hdrs = {},".format(str(hdr_names))
193 includes_param = "includes = {},".format(str(include_subdirs.keys()))
199 deps_param = "deps = [{}],".format(",".join(deps_names))
206 link_hdrs_command += "cp {path} $(RULEDIR)/{hdr}\n ".format(
220 static_library_param = "static_library = \"{}\",".format(
225 mkdir -p $(RULEDIR)/remote && cp {path} $(RULEDIR)/{lib}""".format(
237 """.format(
244 shared_library_param = "shared_library = \"{}\",".format(
249 mkdir -p $(RULEDIR)/remote && cp {path} $(RULEDIR)/{lib}""".format(
261 """.format(
268 executable = False,
308 """.format(
367 Under the hood it uses gcc/clang for finding the library files and headers
439 `system_library` rule depends on gcc/clang (whichever is installed) for