52
52
53
53
artifact : fetch-checksum ieeelib scimark2
54
54
ifeq ($(call has, PREBUILT) , 1)
55
- $(Q)$(PRINTF) "Checking SHA1 of binaries ...\n "
55
+ $(Q)$(PRINTF) "Checking SHA-1 of prebuilt binaries ... "
56
56
57
57
$(Q)$(eval PREBUILT_X86_FILENAME := $(shell cat $(BIN_DIR)/sha1sum-linux-x86-softfp | awk '{ print $$2 };'))
58
58
$(Q)$(eval PREBUILT_RV32_FILENAME := $(shell cat $(BIN_DIR)/sha1sum-riscv32 | awk '{ print $$2 };'))
@@ -66,10 +66,10 @@ ifeq ($(call has, PREBUILT), 1)
66
66
))
67
67
68
68
$(Q)if [ "$(RES)" = "1" ]; then \
69
- $(PRINTF) "$(YELLOW)SHA1 verifications fail ! Re-fetching prebuilt binaries from \"rv32emu-prebuilt\" ...\n$(NO_COLOR)"; \
69
+ $(PRINTF) "\n $(YELLOW)SHA-1 verification fails ! Re-fetching prebuilt binaries from \"rv32emu-prebuilt\" ...\n$(NO_COLOR)"; \
70
70
wget -q --show-progress https://github.com/sysprog21/rv32emu-prebuilt/releases/download/$(LATEST_RELEASE)/rv32emu-prebuilt.tar.gz -O- | tar -C build --strip-components=1 -xz; \
71
71
else \
72
- $(PRINTF) "$(PASS_COLOR)SHA1 verifications succeed!\n$(NO_COLOR)" ; \
72
+ $(call notice, [OK]) ; \
73
73
fi
74
74
else
75
75
git submodule update --init $(addprefix ./tests/,$(foreach tb,$(TEST_SUITES),$(tb)))
@@ -106,9 +106,10 @@ endif
106
106
107
107
fetch-checksum :
108
108
ifeq ($(call has, PREBUILT) , 1)
109
- $(Q)$(PRINTF) "Fetching SHA1 of binaries ...\n"
110
- $(Q)wget -q --show-progress -O $(BIN_DIR)/sha1sum-linux-x86-softfp https://github.com/sysprog21/rv32emu-prebuilt/releases/download/$(LATEST_RELEASE)/sha1sum-linux-x86-softfp
111
- $(Q)wget -q --show-progress -O $(BIN_DIR)/sha1sum-riscv32 https://github.com/sysprog21/rv32emu-prebuilt/releases/download/$(LATEST_RELEASE)/sha1sum-riscv32
109
+ $(Q)$(PRINTF) "Fetching SHA-1 of prebuilt binaries ... "
110
+ $(Q)wget -q -O $(BIN_DIR)/sha1sum-linux-x86-softfp https://github.com/sysprog21/rv32emu-prebuilt/releases/download/$(LATEST_RELEASE)/sha1sum-linux-x86-softfp
111
+ $(Q)wget -q -O $(BIN_DIR)/sha1sum-riscv32 https://github.com/sysprog21/rv32emu-prebuilt/releases/download/$(LATEST_RELEASE)/sha1sum-riscv32
112
+ $(Q)$(call notice, [OK])
112
113
endif
113
114
114
115
scimark2 :
0 commit comments