Re: [libcxx] r291508 - [cmake] Obtain LLVM_CMAKE_PATH from llvm-config if available

2017-01-13 Thread Eric Fiselier via cfe-commits
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

[libcxx] r291508 - [cmake] Obtain LLVM_CMAKE_PATH from llvm-config if available

2017-01-09 Thread Michal Gorny via cfe-commits
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