aboutsummaryrefslogtreecommitdiff
path: root/extra/clang
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
commit03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch)
tree81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /extra/clang
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
Diffstat (limited to 'extra/clang')
-rwxr-xr-xextra/clang/build17
-rw-r--r--extra/clang/checksums1
-rw-r--r--extra/clang/depends5
-rw-r--r--extra/clang/sources1
-rw-r--r--extra/clang/version1
5 files changed, 25 insertions, 0 deletions
diff --git a/extra/clang/build b/extra/clang/build
new file mode 100755
index 00000000..e241c57c
--- /dev/null
+++ b/extra/clang/build
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLLVM_ENABLE_RTTI=ON \
+ -DLLVM_ENABLE_EH=ON \
+ -DCLANG_BUILD_EXAMPLES=OFF \
+ -DCLANG_INCLUDE_DOCS=OFF \
+ -DCLANG_INCLUDE_TESTS=OFF \
+ -DLIBCLANG_BUILD_STATIC=ON \
+ -Wno-dev
+
+cmake --build build
+cmake --install build
diff --git a/extra/clang/checksums b/extra/clang/checksums
new file mode 100644
index 00000000..53cd6a2f
--- /dev/null
+++ b/extra/clang/checksums
@@ -0,0 +1 @@
+7ba81eef7c22ca5da688fdf9d88c20934d2d6b40bfe150ffd338900890aa4610 cfe-9.0.0.src.tar.xz
diff --git a/extra/clang/depends b/extra/clang/depends
new file mode 100644
index 00000000..7a0f0b0e
--- /dev/null
+++ b/extra/clang/depends
@@ -0,0 +1,5 @@
+cmake make
+llvm
+python make
+xz
+zlib
diff --git a/extra/clang/sources b/extra/clang/sources
new file mode 100644
index 00000000..1c1883f3
--- /dev/null
+++ b/extra/clang/sources
@@ -0,0 +1 @@
+https://releases.llvm.org/9.0.0/cfe-9.0.0.src.tar.xz
diff --git a/extra/clang/version b/extra/clang/version
new file mode 100644
index 00000000..f8041b0a
--- /dev/null
+++ b/extra/clang/version
@@ -0,0 +1 @@
+9.0.0 1