clang_detected_variables.tpl.bzl 691 B

123456789101112131415161718
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. """A Starlark file exporting detected Clang configuration variables.
  5. This file gets processed by a repository rule, substituting the
  6. `{VARIABLE}`s with values detected by invoking Clang.
  7. """
  8. llvm_bindir = "{LLVM_BINDIR}"
  9. llvm_symbolizer = "{LLVM_SYMBOLIZER}"
  10. clang_bindir = "{CLANG_BINDIR}"
  11. clang_version = {CLANG_VERSION}
  12. clang_version_for_cache = "{CLANG_VERSION_FOR_CACHE}"
  13. clang_resource_dir = "{CLANG_RESOURCE_DIR}"
  14. clang_include_dirs_list = {CLANG_INCLUDE_DIRS_LIST}
  15. sysroot_dir = "{SYSROOT}"