Skip to content

Commit f9a5dea

Browse files
committed
Missed spread change
1 parent 5e48250 commit f9a5dea

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

debian/rules

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ include debian/opts.mk
55

66
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
77

8+
# Needed for ccache to work in case the build directory changed
9+
# (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810871)
10+
export CCACHE_BASEDIR = $(shell pwd)
11+
812
%:
913
dh $@ -Bbuild-$(DEB_HOST_ARCH) --parallel --fail-missing
1014

@@ -60,7 +64,7 @@ endif
6064
ifeq ($(USER) $(DEB_HOST_ARCH),buildd riscv64)
6165
COMMON_CONFIGURE_OPTIONS += -DMIR_RUN_MIRAL_TESTS=OFF
6266
# Disable unit tests on Launchpad riscv64 jammy kinetic
63-
ifneq ($(filter jammy kinetic,$(DEB_DISTRIBUTION)),)
67+
ifneq ($(filter jammy kinetic lunar,$(DEB_DISTRIBUTION)),)
6468
COMMON_CONFIGURE_OPTIONS += -DMIR_RUN_UNIT_TESTS=OFF
6569
endif
6670
endif

spread.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ environment:
4949
NOCHECK: ""
5050
NOCHECK/asan,tsan,ubsan,asan_clang,tsan_clang,ubsan_clang: nocheck
5151
CTEST_OUTPUT_ON_FAILURE: 1
52+
CCACHE_DIR: /root/.ccache
53+
# Needed for precompiled headers (https://ccache.dev/manual/latest.html#_precompiled_headers)
54+
CCACHE_SLOPPINESS: time_macros,pch_defines,include_file_mtime,include_file_ctime
5255

5356
prepare: |
5457
# NOTE: This part of the code needs to be in spread.yaml as it runs before

0 commit comments

Comments
 (0)