[compiler-rt] Add option to disable libc++ build
authorShoaib Meenai <smeenai@fb.com>
Mon, 14 Jan 2019 20:33:30 +0000 (20:33 +0000)
committerShoaib Meenai <smeenai@fb.com>
Mon, 14 Jan 2019 20:33:30 +0000 (20:33 +0000)
commit6e39af016fd8bbcf06adc5ef2d9b93de30648ff3
tree777a302e1aaef3b90d2ec1a3a7642345c3fcacb8
parent58c650454385ea7d6c65296d7dda9393feaff66d
[compiler-rt] Add option to disable libc++ build

Having libc++ checked out doesn't necessarily mean it should be built;
for example, the same source tree might be used for multiple build
configurations, and libc++ might not build in some of those
configurations. Add an option to compiler-rt's build to disable building
libc++. This defaults to ON, so it shouldn't change any existing build
configurations.

Differential Revision: https://reviews.llvm.org/D56479

llvm-svn: 351117
compiler-rt/CMakeLists.txt