diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 0dbb698e..4a36943e 100755 --- a/debian/rules +++ b/debian/rules @@ -30,6 +30,12 @@ else ABSL_RUN_TESTS=ON endif +# Debian's RISC-V builders don't have enough resources to run tests in parallel. +# See https://bugs.debian.org/1025221. +ifneq ($(filter $(DEB_HOST_ARCH),riscv64),) +ABSL_TEST_EXTRA_ARGS=--no-parallel +endif + %: dh $@ @@ -51,7 +57,7 @@ override_dh_auto_build: ifeq ($(ABSL_RUN_TESTS),ON) override_dh_auto_test: - dh_auto_test -Bshared + dh_auto_test -Bshared $(ABSL_TEST_EXTRA_ARGS) endif override_dh_auto_install: |