name : lldb version : 8.0.0 release : 2 source : - https://releases.llvm.org/8.0.0/lldb-8.0.0.src.tar.xz : 49918b9f09816554a20ac44c5f85a32dc0a7a00759b3259e78064d674eac0373 license : NCSA component : programming.tools summary : High performance debugger, part of the LLVM project. description: | LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler. clang : yes builddeps : - pkgconfig(libedit) - swig rundeps : - python-six setup : | %patch -p1 < $pkgfiles/0001-Fix-python-path.patch %cmake_ninja \ -DLLDB_USE_SYSTEM_SIX=ON \ -DLLVM_LINK_LLVM_DYLIB=ON build : | %ninja_build install : | %ninja_install # Remove static libraries rm "$installdir"/usr/lib/*.a # Relocate lldb python's custom readline.so module which links agaisnt libedit mv "$installdir"/usr/lib64/python2.7/site-packages/{,lldb/}readline.so sed -i '2isys.path.insert(1, "/usr/lib64/python2.7/site-packages/lldb")' \ "$installdir/usr/lib64/python2.7/site-packages/lldb/embedded_interpreter.py" %python_compile