Skip to content

Commit

Permalink
compute benchmarks are not tests
Browse files Browse the repository at this point in the history
  • Loading branch information
palmskog committed Oct 14, 2024
1 parent 8319fcb commit 6b06a61
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions examples/compute/Holmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ test-compute.exe: test-compute.uo

test: test-compute.exe
./test-compute.exe
.PHONY: test

EXTRA_CLEANS = test-compute.exe
11 changes: 6 additions & 5 deletions examples/compute/examples/Holmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ INCLUDES = $(HOLBADIR)/examples/compute/examples/increment \
$(HOLBADIR)/examples/compute/examples/sum_list \
$(HOLBADIR)/examples/compute/examples/jump_chain

all: $(DEFAULT_TARGETS) test-examples.exe
all: $(DEFAULT_TARGETS) benchmark-examples.exe
.PHONY: all

test-examples.exe: test-examples.uo
benchmark-examples.exe: benchmark-examples.uo
$(HOLMOSMLC) -o $@ $<

test: test-examples.exe
./test-examples.exe
benchmark: benchmark-examples.exe
./benchmark-examples.exe
.PHONY: benchmark

EXTRA_CLEANS = test-examples.exe
EXTRA_CLEANS = benchmark-examples.exe
File renamed without changes.

0 comments on commit 6b06a61

Please sign in to comment.