[Bug 31433] New: CMAKE: darwin: lldb executables are no longer installed with `make install`

Bug ID 31433
Summary CMAKE: darwin: lldb executables are no longer installed with make install
Product lldb
Version unspecified
Hardware PC
OS All
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter jeremyhu@apple.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

As of some change over the past few months, running 'make install' no longer
installs the lldb executables, only liblldb.  The executables are built during
the build phase but not installed during installation.

The project is configured with:

cmake -DCMAKE_INSTALL_PREFIX='/opt/local/libexec/llvm-devel'
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
-DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX"
-DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules
-DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev
-DCMAKE_INSTALL_NAME_DIR=/opt/local/libexec/llvm-devel/lib
-DCMAKE_INSTALL_RPATH=/opt/local/libexec/llvm-devel/lib
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local/libexec/llvm-devel;/opt/local;/usr"
-DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_INCLUDE_TESTS=OFF
-DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_ENABLE_FFI=ON -DLLVM_BINDINGS_LIST=none
-DFFI_INCLUDE_DIR=/opt/local/include -DFFI_LIBRARY_DIR=/opt/local/lib
-DLLDB_CODESIGN_IDENTITY=- -DCLANG_ENABLE_ARCMT=OFF -DCLANG_INCLUDE_TESTS=OFF
-DCLANG_ENABLE_STATIC_ANALYZER=OFF -DLLVM_BUILD_RUNTIME=ON
-DLIBCXX_ENABLE_SHARED=OFF -DLIBCXX_INSTALL_LIBRARY=OFF
-DPYTHON_EXECUTABLE=/opt/local/bin/python2.7
-DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG"
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64"
-DCMAKE_OSX_DEPLOYMENT_TARGET="10.11" -DCMAKE_OSX_SYSROOT="/"

Chris Bieneman changed bug 31433

What Removed Added
Status NEW RESOLVED
CC chris.bieneman@me.com
Resolution FIXED

Comment # 6 on bug 31433 from Chris Bieneman

Had the install action nested in the wrong conditional. Fix landed in r290180.