FreeBSD and NetBSD share the same library execinfo.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
cmake/LLDBDependencies.cmake | ||
---|---|---|
152 | Looks like you have a typo. MAKE_SYSTEM_NAME vs. CMAKE_SYSTEM_NAME. |
cmake/LLDBDependencies.cmake | ||
---|---|---|
152 | This should really be replaced with a cmake-style check for where to find backtrace. cmake 3.0 added a built-in package to handle this, but I think we still support an older cmake: http://www.cmake.org/cmake/help/v3.0/module/FindBacktrace.html Since this is how the cmake build finds this, we don't need to worry about having other build systems here and we can do this in the correct way for cmake. |
@brucem, not sure exactly what way forward you are suggesting. LLDB build system supports cmake 2.8.12 and up, so we can't use FindBacktrace unless we bump that to 3.0. Are we recommending we do that?
Can we do this later, after merging this change at it is? For now I won't be able to test the new approach.
I'm fine with this patch the way it is. Unless @brucem refuses, I'll submit it. Improving cmake checks can be dealt with later on.
Can we do this later, after merging this change at it is? For now I won't be able to test the new approach.
We have got CMake 2.8 set as the minimal requirement.
cmake_minimum_required(VERSION 2.8)
I'm willing to push NetBSD bits first and then refactor for all platforms.
Are you OK with it @brucem?
We can do that other part later ... we don't have to require newer cmake to do it, just provide our own file that does something similar until we update to newer cmake.
Looks like you have a typo. MAKE_SYSTEM_NAME vs. CMAKE_SYSTEM_NAME.