This patch causes `execute_process` to dump the standard error if the
command fails. This causes
the llvm-config help message to be printed as part of CMake configuration,
which is ugly and incorrect.
I've already fixed this for libc++, libc++abi, and libunwind trunk, but the
issue still exists
Author: mgorny
Date: Mon Jan 9 17:41:38 2017
New Revision: 291508
URL: http://llvm.org/viewvc/llvm-project?rev=291508=rev
Log:
[cmake] Obtain LLVM_CMAKE_PATH from llvm-config if available
Use the new --cmakedir option to obtain LLVM_CMAKE_PATH straight from
llvm-config. Fallback to local