aboutsummaryrefslogtreecommitdiffstats
path: root/community/dnsdist
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2019-03-20 09:49:59 -0400
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-07 17:55:36 +0000
commit2d51814a45a4930fbb56647b0bb7a9fdb46b0487 (patch)
treef04d870892565ea8ae3a6818e7e5dbf2773f20c0 /community/dnsdist
parentfc8a9dc1bc078b7295a0d842e9766b3b07979536 (diff)
downloadaports-2d51814a45a4930fbb56647b0bb7a9fdb46b0487.tar.bz2
aports-2d51814a45a4930fbb56647b0bb7a9fdb46b0487.tar.xz
community/dnsdist: [DroneCI] disable armhf unit tests
Diffstat (limited to 'community/dnsdist')
-rw-r--r--community/dnsdist/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/community/dnsdist/APKBUILD b/community/dnsdist/APKBUILD
index 63a159e727..23764e14e4 100644
--- a/community/dnsdist/APKBUILD
+++ b/community/dnsdist/APKBUILD
@@ -38,23 +38,30 @@ prepare() {
_configure() {
local _arg="$1"
local _luajit
+ local _unit_tests
[ "$_arg" = '-jit' ] || _arg='' _luajit="lua${_lua_version}"
cd "$builddir$_arg"
+ # builds are timing out on armhf
+ _unit_tests='--enable-unit-tests'
+ case "${DRONE_REPO_OWNER}-${DRONE_RUNNER_PLATFORM}-${CARCH}" in
+ alpinelinux-linux/arm-armhf) _unit_tests="${_unit_tests}=no" ;;
+ esac
+
./configure \
--build="$CBUILD" \
--host="$CHOST" \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --enable-unit-tests \
--enable-dnscrypt \
--enable-dns-over-tls \
--enable-fstrm \
--enable-libsodium \
--enable-re2 \
+ ${_unit_tests} \
--with-protobuf \
--with-boost=/usr/include \
--with-net-snmp \