mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Undoes most of #4347, because of [performance complaints](https://discord.com/channels/655572317891461132/707150492370862090/1295527235133898772). With a 30-ish frame stack trace and `-c dbg`, my installed `llvm-symbolizer` still seems slow (~6s), but the hermetic `llvm-symbolizer` adds ~4s (i.e., ~10s total). I don't think we can easily force the hermetic version to build in opt configuration, so I'm backing it out.
19 lines
691 B
Python
19 lines
691 B
Python
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
"""A Starlark file exporting detected Clang configuration variables.
|
|
|
|
This file gets processed by a repository rule, substituting the
|
|
`{VARIABLE}`s with values detected by invoking Clang.
|
|
"""
|
|
|
|
llvm_bindir = "{LLVM_BINDIR}"
|
|
llvm_symbolizer = "{LLVM_SYMBOLIZER}"
|
|
clang_bindir = "{CLANG_BINDIR}"
|
|
clang_version = {CLANG_VERSION}
|
|
clang_version_for_cache = "{CLANG_VERSION_FOR_CACHE}"
|
|
clang_resource_dir = "{CLANG_RESOURCE_DIR}"
|
|
clang_include_dirs_list = {CLANG_INCLUDE_DIRS_LIST}
|
|
sysroot_dir = "{SYSROOT}"
|