summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-06-22 21:00:16 +0000
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-06-22 21:00:16 +0000
commit3cc17dd4275691911d13d07e2b72c54f4379ef10 (patch)
treeae6d095a094eca58930edc63b456c2e74ac3ec9f /data
parent193f32e39e93ea855bda21c551362d9117160ba3 (diff)
Init. commit.
Diffstat (limited to 'data')
-rw-r--r--data/lldb/_metadata/depends0
-rw-r--r--data/lldb/_metadata/description1
-rw-r--r--data/lldb/_metadata/in.1443.000
l---------data/lldb/_metadata/maintainer1
-rw-r--r--data/lldb/_metadata/name1
-rw-r--r--data/lldb/_metadata/priority1
-rw-r--r--data/lldb/_metadata/provides0
-rw-r--r--data/lldb/_metadata/role1
-rw-r--r--data/lldb/_metadata/section1
-rw-r--r--data/lldb/_metadata/tags1
-rw-r--r--data/lldb/_metadata/version1
-rw-r--r--data/lldb/llvm-8.0.0.src.tar.xzbin0 -> 30503732 bytes
-rw-r--r--data/lldb/make.sh39
-rw-r--r--data/lldb/sources/cfe-8.0.0.src.tar.xzbin0 -> 12868468 bytes
-rw-r--r--data/lldb/sources/lldb-8.0.0.src.tar.xzbin0 -> 19602332 bytes
15 files changed, 47 insertions, 0 deletions
diff --git a/data/lldb/_metadata/depends b/data/lldb/_metadata/depends
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/lldb/_metadata/depends
diff --git a/data/lldb/_metadata/description b/data/lldb/_metadata/description
new file mode 100644
index 000000000..2a231b41a
--- /dev/null
+++ b/data/lldb/_metadata/description
@@ -0,0 +1 @@
+Next generation, high-performance debugger
diff --git a/data/lldb/_metadata/in.1443.00 b/data/lldb/_metadata/in.1443.00
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/lldb/_metadata/in.1443.00
diff --git a/data/lldb/_metadata/maintainer b/data/lldb/_metadata/maintainer
new file mode 120000
index 000000000..573d7ebef
--- /dev/null
+++ b/data/lldb/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/sbingner \ No newline at end of file
diff --git a/data/lldb/_metadata/name b/data/lldb/_metadata/name
new file mode 100644
index 000000000..f2199e7bc
--- /dev/null
+++ b/data/lldb/_metadata/name
@@ -0,0 +1 @@
+LLDB Debugger
diff --git a/data/lldb/_metadata/priority b/data/lldb/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/lldb/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/lldb/_metadata/provides b/data/lldb/_metadata/provides
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/lldb/_metadata/provides
diff --git a/data/lldb/_metadata/role b/data/lldb/_metadata/role
new file mode 100644
index 000000000..52b4d7301
--- /dev/null
+++ b/data/lldb/_metadata/role
@@ -0,0 +1 @@
+hacker
diff --git a/data/lldb/_metadata/section b/data/lldb/_metadata/section
new file mode 100644
index 000000000..00b394251
--- /dev/null
+++ b/data/lldb/_metadata/section
@@ -0,0 +1 @@
+System
diff --git a/data/lldb/_metadata/tags b/data/lldb/_metadata/tags
new file mode 100644
index 000000000..ad5d50831
--- /dev/null
+++ b/data/lldb/_metadata/tags
@@ -0,0 +1 @@
+purpose::console
diff --git a/data/lldb/_metadata/version b/data/lldb/_metadata/version
new file mode 100644
index 000000000..ae9a76b92
--- /dev/null
+++ b/data/lldb/_metadata/version
@@ -0,0 +1 @@
+8.0.0
diff --git a/data/lldb/llvm-8.0.0.src.tar.xz b/data/lldb/llvm-8.0.0.src.tar.xz
new file mode 100644
index 000000000..f0c3a2c8c
--- /dev/null
+++ b/data/lldb/llvm-8.0.0.src.tar.xz
Binary files differ
diff --git a/data/lldb/make.sh b/data/lldb/make.sh
new file mode 100644
index 000000000..c5bc810ae
--- /dev/null
+++ b/data/lldb/make.sh
@@ -0,0 +1,39 @@
+pkg:setup
+
+# http://releases.llvm.org/download.html
+cd tools
+tar xf ${PKG_DATA}/sources/cfe*
+tar xf ${PKG_DATA}/sources/lldb*
+mv cfe* clang
+mv lldb* lldb
+cd ..
+
+# Build for the host.
+mkdir host
+cd host
+cmake DCMAKE_BUILD_TYPE=RELEASE -DLLVM_INCLUDE_TESTS=OFF ..
+make -j16 llvm-tblgen clang-tblgen
+cd ..
+
+# Build for the target.
+mkdir target
+cd target
+
+cat > iphoneos_toolchain.cmake <<EOF
+set(CMAKE_SYSTEM_NAME Darwin) # Tell CMake we're cross-compiling
+set(CMAKE_CROSSCOMPILING true)
+#include(CMakeForceCompiler)
+# Prefix detection only works with compiler id "GNU"
+# CMake will look for prefixed g++, cpp, ld, etc. automatically
+set(CMAKE_SYSTEM_PROCESSOR aarch64)
+set(triple ${PKG_TARG})
+set(CMAKE_FIND_ROOT_PATH $(echo ${PKG_PATH} | sed -e s/:/' '/g))
+set(CMAKE_LIBRARY_PATH $(echo ${LIBRARY_PATH} | sed -e s/:/' '/g))
+set(CMAKE_INCLUDE_PATH $(echo ${INCLUDE_PATH} | sed -e s/:/' '/g))
+set(CMAKE_C_COMPILER ${PKG_TARG}-gcc)
+set(CMAKE_CXX_COMPILER ${PKG_TARG}-g++)
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+EOF
+
diff --git a/data/lldb/sources/cfe-8.0.0.src.tar.xz b/data/lldb/sources/cfe-8.0.0.src.tar.xz
new file mode 100644
index 000000000..6b68a2e30
--- /dev/null
+++ b/data/lldb/sources/cfe-8.0.0.src.tar.xz
Binary files differ
diff --git a/data/lldb/sources/lldb-8.0.0.src.tar.xz b/data/lldb/sources/lldb-8.0.0.src.tar.xz
new file mode 100644
index 000000000..2c6f83cec
--- /dev/null
+++ b/data/lldb/sources/lldb-8.0.0.src.tar.xz
Binary files differ