This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit b1e8fc784ff3c972aef3b2ef0ae7c48460acca56 Author: chenrun1 <chenr...@xiaomi.com> AuthorDate: Wed Apr 3 17:36:24 2024 +0800 coremark-pro:Added coremark-pro download link. Source Codeļ¼https://github.com/eembc/coremark-pro Signed-off-by: chenrun1 <chenr...@xiaomi.com> --- benchmarks/coremark-pro/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/benchmarks/coremark-pro/Makefile b/benchmarks/coremark-pro/Makefile index dd4f8ebe5..c0ee5a2a3 100644 --- a/benchmarks/coremark-pro/Makefile +++ b/benchmarks/coremark-pro/Makefile @@ -137,4 +137,19 @@ ifneq ($(CONFIG_BENCHMARK_COREMARK_PRO_PARSER_125K),) PROGNAME += parser_125k endif +ifeq ($(wildcard coremark-pro/.git),) +VERSION ?= main +coremark-pro.zip: + $(Q) curl -L https://github.com/eembc/coremark-pro/archive/refs/heads/main.zip -o coremark-pro.zip + $(Q) unzip -o coremark-pro.zip + $(Q) mv coremark-pro-$(VERSION) coremark-pro + +context:: coremark-pro.zip + +distclean:: + $(call DELDIR, coremark-pro) + $(call DELFILE, coremark-pro.zip) + +endif + include $(APPDIR)/Application.mk