summaryrefslogtreecommitdiff
path: root/lldb/Pkgfile
blob: cd902083a088e33901c591b71aa2609d2fc04db7 (plain)
    1 # Description: LLDB is a next generation, high-performance debugger
    2 # URL: https://lldb.llvm.org/
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: clang libedit python3-six swig
    5 
    6 name=lldb
    7 version=9.0.1
    8 release=1
    9 source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/lldb-$version.src.tar.xz)
   10 
   11 build() {
   12   cd $name-$version.src
   13   mkdir build
   14   cd build
   15   cmake .. \
   16     -GNinja \
   17     -DCMAKE_BUILD_TYPE=Release \
   18     -DCMAKE_INSTALL_PREFIX=/usr \
   19     -DLLVM_LINK_LLVM_DYLIB=ON \
   20     -DPYTHON_EXECUTABLE=/usr/bin/python3 \
   21     -DLLDB_USE_SYSTEM_SIX=1
   22   ninja
   23   DESTDIR=$PKG ninja install
   24   python3 -m compileall $PKG
   25   python3 -O -m compileall $PKG
   26   python3 -OO -m compileall $PKG
   27 }

Generated by cgit