[Lldb-commits] [PATCH] D62879: [CMake] Add configuration dirs as potential locations for llvm-lit and llvm-tblgen in standalone builds

2019-06-05 Thread Phabricator via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL362589: [CMake] Add configuration dirs as potential locations for llvm-lit and llvm… (authored by stefan.graenitz, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits. Ch

[Lldb-commits] [PATCH] D62879: [CMake] Add configuration dirs as potential locations for llvm-lit and llvm-tblgen in standalone builds

2019-06-04 Thread Stefan Gränitz via Phabricator via lldb-commits
sgraenitz marked 3 inline comments as done. sgraenitz added inline comments. Comment at: lldb/cmake/modules/LLDBStandalone.cmake:67 +append_configuration_directories(${LLVM_TOOLS_BINARY_DIR} config_dirs) +find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${config_dirs} NO_DEF

[Lldb-commits] [PATCH] D62879: [CMake] Add configuration dirs as potential locations for llvm-lit and llvm-tblgen in standalone builds

2019-06-04 Thread Stefan Gränitz via Phabricator via lldb-commits
sgraenitz updated this revision to Diff 203030. sgraenitz added a comment. Add CMAKE_EXECUTABLE_SUFFIX when searching for llvm-tblgen Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62879/new/ https://reviews.llvm.org/D62879 Files: lldb/cmake/modu

[Lldb-commits] [PATCH] D62879: [CMake] Add configuration dirs as potential locations for llvm-lit and llvm-tblgen in standalone builds

2019-06-04 Thread Stella Stamenova via Phabricator via lldb-commits
stella.stamenova added inline comments. Comment at: lldb/cmake/modules/LLDBStandalone.cmake:67 +append_configuration_directories(${LLVM_TOOLS_BINARY_DIR} config_dirs) +find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${config_dirs} NO_DEFAULT_PATH) endif() ---

[Lldb-commits] [PATCH] D62879: [CMake] Add configuration dirs as potential locations for llvm-lit and llvm-tblgen in standalone builds

2019-06-04 Thread Stefan Gränitz via Phabricator via lldb-commits
sgraenitz added inline comments. Comment at: lldb/cmake/modules/LLDBStandalone.cmake:67 +append_configuration_directories(${LLVM_TOOLS_BINARY_DIR} config_dirs) +find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${config_dirs} NO_DEFAULT_PATH) endif() How i

[Lldb-commits] [PATCH] D62879: [CMake] Add configuration dirs as potential locations for llvm-lit and llvm-tblgen in standalone builds

2019-06-04 Thread Alex Langford via Phabricator via lldb-commits
xiaobai accepted this revision. xiaobai added a comment. Seems fine to me Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62879/new/ https://reviews.llvm.org/D62879 ___ lldb-commits mailing list lldb-com

[Lldb-commits] [PATCH] D62879: [CMake] Add configuration dirs as potential locations for llvm-lit and llvm-tblgen in standalone builds

2019-06-04 Thread Stefan Gränitz via Phabricator via lldb-commits
sgraenitz added a comment. IIUC Clang uses the same mechanism. Moving `append_configuration_directories()` to AddLLVM.cmake could help there too. We may consider it for the future once D62859 is through. Repository: rG LLVM Github Monorepo CHANGES SINCE LAS

[Lldb-commits] [PATCH] D62879: [CMake] Add configuration dirs as potential locations for llvm-lit and llvm-tblgen in standalone builds

2019-06-04 Thread Stella Stamenova via Phabricator via lldb-commits
stella.stamenova accepted this revision. stella.stamenova added a comment. This revision is now accepted and ready to land. LGTM Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62879/new/ https://reviews.llvm.org/D62879 ___

[Lldb-commits] [PATCH] D62879: [CMake] Add configuration dirs as potential locations for llvm-lit and llvm-tblgen in standalone builds

2019-06-04 Thread Stefan Gränitz via Phabricator via lldb-commits
sgraenitz created this revision. sgraenitz added reviewers: xiaobai, labath, stella.stamenova. Herald added a subscriber: mgorny. Herald added a project: LLDB. If the provided LLVM build-tree used a multi-configuration generator like Xcode, `LLVM_TOOLS_BINARY_DIR` will have a generator-specific p