summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn/build/toolchain/compiler.gni
Commit message (Collapse)AuthorAgeFilesLines
* gn build: Bump Android API level to 29, and NDK to r21.Peter Collingbourne2019-12-051-1/+1
| | | | | | | These are both necessary in order to use ELF TLS, which is needed by the scudo unit tests. Differential Revision: https://reviews.llvm.org/D71079
* gn build: Upgrade to NDK r19.Peter Collingbourne2019-02-051-1/+1
| | | | | | | | | | NDK r19 includes a sysroot that can be used directly by the compiler without creating a standalone toolchain, so we just need a handful of flags to point Clang there. Differential Revision: https://reviews.llvm.org/D57733 llvm-svn: 353139
* gn build: Move target flags from toolchain to a .gni file.Peter Collingbourne2019-01-151-0/+3
| | | | | | | | | While here, add a use_lld flag and default it to true when using clang on non-mac. Differential Revision: https://reviews.llvm.org/D56710 llvm-svn: 351248
* gn build: Add a stage2 toolchain for Android.Peter Collingbourne2019-01-111-0/+4
| | | | | | | | | This makes it possible to build llvm-symbolizer for Android, which is one of the prerequisites for running the sanitizer tests on Android. Differential Revision: https://reviews.llvm.org/D56577 llvm-svn: 350979
* Add initial scaffolding for the GN build.Nico Weber2018-11-171-0/+18
See "GN build roundtable summary; adding GN build files to the repo" on llvm-dev and cfe-dev for discussion. In particular, this build is completely unsupported. People adding new files to LLVM are not expected to update the GN build files, and reviewers are not supposed to request the gn build files to be updated. This adds just enough to be able to build llvm/lib/Demangle. It requires using a monorepo. This adds a few build config options you can set in args.gn (`gn args out/foo --list` for all): - is_debug = true to enable debug builds (defaults to release) - llvm_enable_assertions to toggle assertions (defaults to true) - clang_base_path, if set an absolute path to a locally-built clang to be used as host compiler Differential Revision: https://reviews.llvm.org/D54345 llvm-svn: 347128
OpenPOWER on IntegriCloud