mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 05:53:49 +01:00
On `native32` / `native64` in the CI, the benchmark results will be unusable due to the background load of other build tasks anyway. There is a risk that due to the high number of benchmark runs the test will time out. So to avoid the timeouts and because the results are unusable anyway, the benchmark runs have been drastically reduced. This will still allow the CI to confirm that the benchmarks do run successfully to completion.
24 lines
778 B
Makefile
24 lines
778 B
Makefile
include ../Makefile.bench_common
|
|
|
|
# we use thread flags in this benchmark by default, disable on demand
|
|
USEMODULE += core_thread_flags
|
|
USEMODULE += benchmark
|
|
|
|
ifeq (llvm,$(TOOLCHAIN))
|
|
# the floating point exception bug is more likely to trigger when build
|
|
# with LLVM, so we just disable LLVM on native as a work around
|
|
TEST_ON_CI_BLACKLIST += native32 native64
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
ifeq (1,$(RIOT_CI_BUILD))
|
|
ifneq (,$(filter native%,$(BOARD)))
|
|
# In the CI the background load will mess up benchmarks anyway, so this is
|
|
# more about checking whether the benchmarks actually do run in the CI and
|
|
# not about getting good numbers. So we can reduce the benchmark runs
|
|
# quite a bit.
|
|
CFLAGS += -DBENCH_CLIST_RUNS=50
|
|
endif
|
|
endif
|