summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9c1e12cab3a..5ff4da44069 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,11 @@
# Maintainer: Michael Lass <bevan@bi-co.net>
+# This PKGBUILD is maintained on github:
+# https://github.com/michaellass/AUR
+
+# This package does not include OCaml and go bindings. If you need them, please
+# post a comment in the AUR.
+
pkgname=llvm70
pkgdesc="LLVM compiler toolchain, version 7.0 (installed under /opt/llvm70)"
pkgver=7.0.1
@@ -14,7 +20,7 @@ source=(https://releases.llvm.org/$pkgver/llvm-$pkgver.src.tar.xz)
sha256sums=('a38dfc4db47102ec79dcc2aa61e93722c5f6f06f0a961073bd84b78fb949419b')
build() {
- mkdir "$srcdir/llvm-$pkgver.src/build"
+ mkdir -p "$srcdir/llvm-$pkgver.src/build"
cd "$srcdir/llvm-$pkgver.src/build"
cmake .. -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
@@ -25,10 +31,11 @@ build() {
-DLLVM_INSTALL_UTILS=ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_ENABLE_FFI=ON \
- -DLLVM_BUILD_TESTS=ON \
+ -DLLVM_BUILD_TESTS=OFF \
-DLLVM_BUILD_DOCS=ON \
-DLLVM_ENABLE_SPHINX=ON \
-DLLVM_ENABLE_DOXYGEN=OFF \
+ -DLLVM_ENABLE_BINDINGS=OFF \
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
-DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \
-DLLVM_BINUTILS_INCDIR=/usr/include