Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/CMakeLists.txt | ||
---|---|---|
54 | Are there other reasons LLDB_PYTHON_RELATIVE_PATH could be empty at this point, unrelated to cross compilation? Would it make sense to move the error in the else clause of if (NOT CMAKE_CROSSCOMPILING) instead? |
lldb/CMakeLists.txt | ||
---|---|---|
54 | I guess it could be if the python command above succeeded, but output an empty string. My cmake-fu isn't very strong, but I wonder if it's ok to check ${LLDB_PYTHON_RELATIVE_PATH} before the set(LLDB_PYTHON_RELATIVE_PATH ${LLDB_PYTHON_DEFAULT_RELATIVE_PATH} CACHE ...) command? I guess it is, because it's going to need to be set beforehand anyway? |
Are there other reasons LLDB_PYTHON_RELATIVE_PATH could be empty at this point, unrelated to cross compilation? Would it make sense to move the error in the else clause of if (NOT CMAKE_CROSSCOMPILING) instead?