Skip to content

Commit 2786803

Browse files
committed
Use wget instead of curl
1 parent 039574b commit 2786803

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/benchmark.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ TESTBENCHES += \
3434
$(ticks)
3535

3636
ifeq ($(USE_PREBUILT),1)
37-
LATEST_RELEASE := $(shell curl -s https://api.github.com/repos/sysprog21/rv32emu-prebuilt/releases/latest | grep -Po '(?<="tag_name": ").+(?=",)')
37+
LATEST_RELEASE := $(shell wget -qO - https://api.github.com/repos/sysprog21/rv32emu-prebuilt/releases/latest | grep -Po '(?<="tag_name": ").+(?=",)')
3838
endif
3939

4040
.PHONY: build-testbenches benchmark
@@ -45,7 +45,7 @@ benchmark: build-testbenches
4545
build-testbenches:
4646
ifeq ($(USE_PREBUILT),1)
4747
@echo "Fetching prebuilt executables in \"rv32emu-prebuilt\"..."
48-
@curl --progress-bar -L https://github.com/sysprog21/rv32emu-prebuilt/releases/download/$(LATEST_RELEASE)/rv32emu-prebuilt.tar.gz | tar zx -C build
48+
@wget -O - https://github.com/sysprog21/rv32emu-prebuilt/releases/download/$(LATEST_RELEASE)/rv32emu-prebuilt.tar.gz | tar zx -C build
4949
else
5050
@$(foreach tb,$(TEST_SUITES), \
5151
git submodule update --init ./tests/$(tb) &&) true

0 commit comments

Comments
 (0)