• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Specifies the build flags that are set by the LLVM GN build. The LLVM build
2# options specific to clspv targets go in here.
3
4# Contains only LLVM specific options
5declare_args() {
6  # Whether to enable assertions.
7  llvm_enable_assertions = true
8
9  # Whether to enable expensive checks.
10  llvm_enable_expensive_checks = false
11
12  # Whether to build with ThinLTO.
13  use_thinlto = false
14}
15
16# Below are libs setup as in `llvm/utils/gn/build/libs/*`
17declare_args() {
18  llvm_enable_libcurl = false
19  llvm_enable_libedit = host_os == "mac"
20  llvm_enable_threads = current_os != "win" && current_os != "android"
21  llvm_enable_libxar = host_os == "mac"
22  llvm_enable_libxml2 = current_os != "win" && current_os != "android"
23  llvm_enable_terminfo = false
24  llvm_enable_zlib = host_os != "win"
25}
26