aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/clang6/APKBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/testing/clang6/APKBUILD b/testing/clang6/APKBUILD
index ed48c13dda..5d0810a454 100644
--- a/testing/clang6/APKBUILD
+++ b/testing/clang6/APKBUILD
@@ -4,13 +4,12 @@ _pkgname=clang
pkgver=6.0.1
_majorver=${pkgver%%.*}
pkgname=$_pkgname$_majorver
-pkgrel=0
+pkgrel=1
_llvmver=${pkgver%%.*}
pkgdesc="A C language family front-end for LLVM"
arch="all"
url="https://clang.llvm.org/"
license="UOI-NCSA"
-options="!check" # tests need python lit
makedepends="
cmake
isl-dev
@@ -55,7 +54,7 @@ build() {
-DLIBCLANG_BUILD_STATIC=ON \
-DLLVM_ENABLE_EH=ON \
-DLLVM_ENABLE_RTTI=ON \
- -DLLVM_EXTERNAL_LIT=/usr/lib/llvm6/bin/lit \
+ -DLLVM_EXTERNAL_LIT=/usr/lib/llvm$_llvmver/bin/lit \
-DLLVM_CONFIG=/usr/bin/llvm6-config
make clang-tblgen
@@ -65,7 +64,7 @@ build() {
check() {
cd "$builddir"/build
- make check-clang
+ lit -sv --param clang_site_config=$builddir/build/test/lib.site.cfg $builddir/build/test
}
package() {