forked from ClangBuiltLinux/tc-build
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build-llvm.py: Convert '--debug' into '--build-type'
Right now, the LLVM tests are only runnable when specifying '--debug'. However, some users want to be able to run the LLVM tests on a release build so they don't have to suffer with slower build times. The real intention behind '--debug' was just the changing of CMAKE_BUILD_TYPE so convert '--debug' into '--build-type' and unhook the LLVM tests from that option. We only save 29 targets (3783 -> 3752) by turning off LLVM_INCLUDE_TESTS (tested with '--build-stage1-only') so there is no point in adding an option to enable/disable that option. LLVM_BUILD_TESTS is not needed to run tests so omit setting a value for it. Closes: ClangBuiltLinux#42 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
- Loading branch information
1 parent
d61dec9
commit 4b6b278
Showing
1 changed file
with
21 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters