llvm.org GIT mirror llvm / 26a6348
[CMake] Hack GetSVN.cmake to handle unusual terminals. I got a report of a hang in git's helper functions trying to figure out how to display results of "git svn info" when run inside ninja, even though the result is immediately piped to grep. This seems to avoid that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190808 91177308-0d34-0410-b5e6-96231b3b80d8 Jordan Rose 6 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1414 get_filename_component(LLVM_DIR "${CMAKE_SCRIPT_MODE_FILE}" PATH)
1515 get_filename_component(LLVM_DIR "${LLVM_DIR}" PATH)
1616 get_filename_component(LLVM_DIR "${LLVM_DIR}" PATH)
18 # Handle strange terminals
19 set(ENV{TERM} "dumb")
1821 function(append_info name path)
1922 execute_process(COMMAND "${LLVM_DIR}/utils/GetSourceVersion" "${path}"