summaryrefslogtreecommitdiff
path: root/main/llvm14/APKBUILD
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-07-21 12:03:30 +0000
committerpsykose <alice@ayaya.dev>2022-07-21 16:11:03 +0200
commitf2db283bcdf12bb35bc73db1f07cab03582c6c24 (patch)
treea4116dabef233b15c4e4052ab356a4a06a0c42f3 /main/llvm14/APKBUILD
parent6eeef549a17e468ffa049c2891319ad315829371 (diff)
downloadaports-f2db283bcdf12bb35bc73db1f07cab03582c6c24.zip
main/llvm14: skip tests without check
Diffstat (limited to 'main/llvm14/APKBUILD')
-rw-r--r--main/llvm14/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/llvm14/APKBUILD b/main/llvm14/APKBUILD
index 44be75b8e29..afa9b0ebdd0 100644
--- a/main/llvm14/APKBUILD
+++ b/main/llvm14/APKBUILD
@@ -140,7 +140,7 @@ build() {
-DLLVM_BUILD_EXAMPLES=OFF \
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \
-DLLVM_BUILD_LLVM_DYLIB=ON \
- -DLLVM_BUILD_TESTS=ON \
+ -DLLVM_BUILD_TESTS="$(want_check && echo ON || echo OFF)" \
-DLLVM_DEFAULT_TARGET_TRIPLE="$CBUILD" \
-DLLVM_ENABLE_ASSERTIONS=OFF \
-DLLVM_ENABLE_FFI=ON \