aboutsummaryrefslogtreecommitdiffstats
path: root/main/clang/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-01-26 11:38:15 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2020-01-26 13:14:57 +0100
commitb76d1d06267f5e487d4140442b7840bf829a00aa (patch)
tree79783ace9961e223b839bd2a117b2b5da2b50997 /main/clang/APKBUILD
parent3470c313b4de0af0b1e1a8943dd554124ceae481 (diff)
downloadaports-b76d1d06267f5e487d4140442b7840bf829a00aa.tar.bz2
aports-b76d1d06267f5e487d4140442b7840bf829a00aa.tar.xz
main/clang: build more documentation
Includes more man pages, most importantly clang(1), and also some HTML documentation.
Diffstat (limited to 'main/clang/APKBUILD')
-rw-r--r--main/clang/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/clang/APKBUILD b/main/clang/APKBUILD
index 9e6e93ffcc..61937de94e 100644
--- a/main/clang/APKBUILD
+++ b/main/clang/APKBUILD
@@ -4,7 +4,7 @@
pkgname=clang
# Note: Update together with llvm.
pkgver=9.0.1
-pkgrel=2
+pkgrel=3
_llvmver=${pkgver%%.*}
pkgdesc="A C language family front-end for LLVM"
arch="all"
@@ -23,6 +23,7 @@ makedepends="
llvm$_llvmver-test-utils
ninja
python3
+ py3-sphinx
"
checkdepends="diffutils bash"
depends_dev="$pkgname=$pkgver-r$pkgrel"
@@ -57,6 +58,9 @@ build() {
-DCLANG_VENDOR=Alpine \
-DCLANG_BUILD_EXAMPLES=OFF \
-DCLANG_INCLUDE_DOCS=ON \
+ -DLLVM_BUILD_DOCS=ON \
+ -DLLVM_ENABLE_SPHINX=ON \
+ -DSPHINX_WARNINGS_AS_ERRORS=OFF \
-DCLANG_INCLUDE_TESTS=ON \
-DCLANG_PLUGIN_SUPPORT=ON \
-DLIBCLANG_BUILD_STATIC=ON \