[LLVMdev] Purpose of LLVM_ENABLE_LIBCXX and LLVM_ENABLE_LIBCXXABI

Renato Golin renato.golin at linaro.org
Tue Jul 28 05:09:47 PDT 2015


On 28 July 2015 at 12:32, Martell Malone <martellmalone at gmail.com> wrote:
> option(LLVM_ENABLE_MODULES "Compile with C++ modules enabled." OFF)
> option(LLVM_ENABLE_CXX1Y "Compile with C++1y enabled." OFF)
> option(LLVM_ENABLE_LIBCXX "Use libc++ if available." OFF)
> option(LLVM_ENABLE_LIBCXXABI "Use libc++abi when using libc++." OFF)
> option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
> option(LLVM_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF)

So, this is related to building LLVM/Clang, not the resulting Clang
binary's default behaviour, right?

I had the impression that Michael actually wanted the latter, like GCC
has autoconf options to change the default behaviour of the compiler
at build time.

I may be wrong, though.

cheers,
--renato



More information about the llvm-dev mailing list