diff options
Diffstat (limited to 'testing/lldb/APKBUILD')
-rw-r--r-- | testing/lldb/APKBUILD | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/testing/lldb/APKBUILD b/testing/lldb/APKBUILD index 56fbab3891..f879bc1365 100644 --- a/testing/lldb/APKBUILD +++ b/testing/lldb/APKBUILD @@ -1,19 +1,18 @@ # Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> # Maintainer: pkgname=lldb -pkgver=3.8.1 -pkgrel=1 +# Note: Update together with llvm. +pkgver=4.0.0 +pkgrel=0 pkgdesc="Next generation, high-performance debugger" arch="all" url="http://llvm.org/" license="UOI-NCSA" -makedepends="clang-dev cmake doxygen libedit-dev libffi-dev - libxml2-dev linux-headers llvm-dev llvm-static ncurses-dev - ninja python2-dev swig" +makedepends="clang-dev clang-static cmake doxygen libedit-dev libffi-dev + libxml2-dev linux-headers llvm-dev llvm-static ncurses-dev ninja + python2-dev swig" subpackages="$pkgname-dev py2-$pkgname:py2" source="http://llvm.org/releases/$pkgver/$pkgname-$pkgver.src.tar.xz - lldb-3.8-alpine.patch - D15067.id41365.patch musl-include-ptrace.aarch64.patch" builddir="$srcdir/$pkgname-$pkgver.src" @@ -21,10 +20,12 @@ build() { mkdir -p "$builddir"/build cd "$builddir"/build - cmake .. -G Ninja -Wno-dev \ + CC=clang CXX=clang++ cmake .. -G Ninja -Wno-dev \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLLVM_LINK_LLVM_DYLIB=ON + -DLLVM_LINK_LLVM_DYLIB=ON \ + -DLLDB_DISABLE_LIBEDIT=ON \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 ninja } @@ -54,15 +55,5 @@ py2() { python2 -m compileall -fqd /$sitedir $sitedir } -md5sums="9e4787b71be8e432fffd31e13ac87623 lldb-3.8.1.src.tar.xz -985443fb4b6ad8742743ff8ea4856ac1 lldb-3.8-alpine.patch -78785ba3c6a19b3f805abd261109a595 D15067.id41365.patch -f13ad6da35dba8fe7bc299b2465f1456 musl-include-ptrace.aarch64.patch" -sha256sums="349148116a47e39dcb5d5042f10d8a6357d2c865034563283ca512f81cdce8a3 lldb-3.8.1.src.tar.xz -bc9c8ba97e5ee9f9e29946b1cc611a75a3a8ba4fa4e2727e4514b5c8b0c6ca14 lldb-3.8-alpine.patch -c6dd7dee0856f2ea20bd697f8aa3b09cef04fd32ff2daa9e3625ef69f5bab61f D15067.id41365.patch -6038588b2089bfdbf1a0168208a443d8832622188076e79f3d2c2545eb73fc53 musl-include-ptrace.aarch64.patch" -sha512sums="d73c55daed6ef5e5ca784c7010f2d75be26024b14fa61a2861a8a6cbe129e417fb7be2a3b532e17e9d7de98ae38ce6a689d8166049eff365fb04f4bd772758f3 lldb-3.8.1.src.tar.xz -b935be858c45958018ed79557f8061dee18d0949beaff4c717233497f86432c7811960c5a656772a9858e314122049121985cd8333758c508a806653b9200c1b lldb-3.8-alpine.patch -3c10e8b059d5db12776f066b679c328e54bc40d139830c4a49ec35acfa6b9775b1544fd1cb83cc1c0f449b28657c57c2d3d92d08f4c373d4ea413aed5bb3a4f9 D15067.id41365.patch +sha512sums="931e8c6e74b66c4ac1c56c9d067309a319aa9a9f4c72d4ed9703be3decefeb8730084ad8c3581e4e31d61cdd4074518d2ed72bacce1e689e087b2f62ad4bb2e8 lldb-4.0.0.src.tar.xz 1613a1cb042edd430aba6b86e4971ebb01f7d2bc3f13a5a1264cb94da7612188897e9dcaaa9233be8af5c8f4bad013dd0cfb821e323cd73dfe07fe125869ccef musl-include-ptrace.aarch64.patch" |