summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Port2017-07-10 16:17:47 -0700
committerTyler Port2017-07-10 16:17:47 -0700
commit471a629cf3169457fa40c74102651a3d3598da9f (patch)
treeb666906491cd277f357d022295a5be0963764875
parent126a63ba7b15ca54d19c0fefb72fd1d31a4e53bf (diff)
downloadaur-471a629cf3169457fa40c74102651a3d3598da9f.tar.gz
add lldb
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD33
2 files changed, 54 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cbe74f4f2d4..520729abd56 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
# Generated by mksrcinfo v8
-# Mon Jul 10 10:31:44 UTC 2017
+# Mon Jul 10 23:17:32 UTC 2017
pkgbase = llvm-polly-svn
- pkgver = 5.0.0svn_r307530
+ pkgver = 5.0.0svn_r307598
pkgrel = 1
url = http://llvm.org/
arch = i686
@@ -22,6 +22,7 @@ pkgbase = llvm-polly-svn
source = clang-tools-extra::svn+http://llvm.org/svn/llvm-project/clang-tools-extra/trunk
source = compiler-rt::svn+http://llvm.org/svn/llvm-project/compiler-rt/trunk
source = lld::svn+http://llvm.org/svn/llvm-project/lld/trunk
+ source = lldb::svn+http://llvm.org/svn/llvm-project/lldb/trunk
source = polly::svn+http://llvm.org/svn/llvm-project/polly/trunk
source = llvm-Config-llvm-config.h
sha256sums = SKIP
@@ -30,12 +31,13 @@ pkgbase = llvm-polly-svn
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
+ sha256sums = SKIP
sha256sums = 597dc5968c695bbdbb0eac9e8eb5117fcd2773bc91edf5ec103ecffffab8bc48
pkgname = llvm-polly-svn
pkgdesc = The LLVM Compiler Infrastructure
groups = llvm-toolchain-polly-svn
- depends = llvm-libs-polly-svn=5.0.0svn_r307530-1
+ depends = llvm-libs-polly-svn=5.0.0svn_r307598-1
provides = llvm
conflicts = llvm,
conflicts = llvm-svn
@@ -51,7 +53,7 @@ pkgname = llvm-libs-polly-svn
pkgname = llvm-ocaml-polly-svn
pkgdesc = OCaml bindings for LLVM
- depends = llvm-polly-svn=5.0.0svn_r307530-1
+ depends = llvm-polly-svn=5.0.0svn_r307598-1
depends = ocaml=4.04.1
depends = ocaml-ctypes
provides = llvm-ocaml
@@ -61,16 +63,27 @@ pkgname = llvm-ocaml-polly-svn
pkgname = lld-polly-svn
pkgdesc = A linker from the LLVM project
groups = llvm-toolchain-polly-svn
- depends = llvm-libs-polly-svn=5.0.0svn_r307530-1
+ depends = llvm-libs-polly-svn=5.0.0svn_r307598-1
provides = lld
conflicts = lld,
conflicts = lld-svn
+pkgname = lldb-polly-svn
+ pkgdesc = Next generation, high-performance debugger
+ url = http://lldb.llvm.org/
+ groups = llvm-toolchain-polly-svn
+ depends = llvm-libs-polly-svn=5.0.0svn_r307598-1
+ depends = libedit
+ depends = libxml2
+ depends = python2
+ provides = lldb
+ conflicts = lldb
+
pkgname = clang-polly-svn
pkgdesc = C language family frontend for LLVM
url = http://clang.llvm.org/
groups = llvm-toolchain-polly-svn
- depends = llvm-polly-svn=5.0.0svn_r307530-1
+ depends = llvm-polly-svn=5.0.0svn_r307598-1
optdepends = clang-analyzer-svn: source code analysis for Clang, supporting C, C++, and Objective-C
optdepends = clang-compiler-rt-svn: sanitizer runtimes, builtins, profile library and BlocksRuntime
optdepends = clang-tools-extra-svn: standalone tools: syntax checking, formatting, refactoring, etc.
@@ -83,7 +96,7 @@ pkgname = clang-analyzer-polly-svn
pkgdesc = Source code analysis tool for Clang, supporting C, C++, and Objective-C
url = http://clang-analyzer.llvm.org/
groups = llvm-toolchain-polly-svn
- depends = clang-polly-svn=5.0.0svn_r307530-1
+ depends = clang-polly-svn=5.0.0svn_r307598-1
depends = perl
depends = python2
provides = clang-analyzer
@@ -94,7 +107,7 @@ pkgname = clang-compiler-rt-polly-svn
pkgdesc = The "compiler-rt" set of runtime libraries for Clang and LLVM
url = http://compiler-rt.llvm.org/
groups = llvm-toolchain-polly-svn
- depends = clang-polly-svn=5.0.0svn_r307530-1
+ depends = clang-polly-svn=5.0.0svn_r307598-1
provides = clang-compiler-rt
conflicts = clang-compiler-rt,
conflicts = clang-compiler-rt-svn
@@ -103,7 +116,7 @@ pkgname = clang-tools-extra-polly-svn
pkgdesc = Standalone tools for Clang: syntax checking, formatting, refactoring, etc.
url = http://clang.llvm.org/docs/ClangTools.html
groups = llvm-toolchain-polly-svn
- depends = clang-polly-svn=5.0.0svn_r307530-1
+ depends = clang-polly-svn=5.0.0svn_r307598-1
provides = clang-tools-extra
conflicts = clang-tools-extra,
conflicts = clang-tools-extra-svn
diff --git a/PKGBUILD b/PKGBUILD
index 49fdda9cb50..4c81c713e93 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,6 +17,7 @@ pkgname=(
'llvm-libs-polly-svn'
'llvm-ocaml-polly-svn'
'lld-polly-svn'
+ 'lldb-polly-svn'
'clang-polly-svn'
'clang-analyzer-polly-svn'
'clang-compiler-rt-polly-svn'
@@ -24,7 +25,7 @@ pkgname=(
)
_pkgname='llvm'
-pkgver=5.0.0svn_r307530
+pkgver=5.0.0svn_r307598
pkgver() {
cd "$pkgname"
@@ -57,6 +58,7 @@ source=(
'clang-tools-extra::svn+http://llvm.org/svn/llvm-project/clang-tools-extra/trunk'
'compiler-rt::svn+http://llvm.org/svn/llvm-project/compiler-rt/trunk'
'lld::svn+http://llvm.org/svn/llvm-project/lld/trunk'
+ 'lldb::svn+http://llvm.org/svn/llvm-project/lldb/trunk'
'polly::svn+http://llvm.org/svn/llvm-project/polly/trunk'
'llvm-Config-llvm-config.h'
)
@@ -68,6 +70,7 @@ sha256sums=(
'SKIP'
'SKIP'
'SKIP'
+ 'SKIP'
'597dc5968c695bbdbb0eac9e8eb5117fcd2773bc91edf5ec103ecffffab8bc48'
)
@@ -121,6 +124,7 @@ _install_licenses() {
\( \
-path "${srcdir}/${_pkgname}/tools/lld" -o \
-path "${srcdir}/${_pkgname}/tools/clang" -o \
+ -path "${srcdir}/${_pkgname}/tools/lldb" -o \
-path "${srcdir}/${_pkgname}/projects/compiler-rt" \
\) -prune -o \
\( \
@@ -160,6 +164,7 @@ prepare() {
svn export --force "${srcdir}/clang-tools-extra" tools/clang/tools/extra
svn export --force "${srcdir}/compiler-rt" projects/compiler-rt
svn export --force "${srcdir}/lld" tools/lld
+ svn export --force "${srcdir}/lldb" tools/lldb
svn export --force "${srcdir}/polly" tools/polly
mkdir -p "${srcdir}/build"
@@ -260,6 +265,32 @@ package_llvm-polly-svn() {
_install_licenses "${srcdir}/llvm"
}
+package_lldb-polly-svn() {
+ pkgdesc='Next generation, high-performance debugger'
+ url='http://lldb.llvm.org/'
+ depends=(
+ "llvm-libs-polly-svn=${pkgver}-${pkgrel}"
+ 'libedit'
+ 'libxml2'
+ 'python2'
+ )
+ groups=('llvm-toolchain-polly-svn')
+ provides=('lldb')
+ conflicts=('lldb')
+
+ cd "${srcdir}/build/tools/lldb"
+
+ make DESTDIR="${pkgdir}" install
+
+ _fix_python_exec_path \
+ "${pkgdir}${_py_sitepkg_dir}/lldb/utils/symbolication.py"
+
+ _compile_python_files "${pkgdir}${_py_sitepkg_dir}/lldb"
+
+ _install_licenses "${srcdir}/lldb"
+}
+
+
package_llvm-libs-polly-svn() {
pkgdesc='The LLVM Compiler Infrastructure (runtime libraries)'
depends=(