-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
35 lines (27 loc) · 912 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
define HELP_TEXT
echo ""
echo "HLS_TEST_SUITE Make Targets"
echo "--------------------------------------------------------------------------------"
echo "run Compiles and runs all tests"
echo "run-base Compiles and runs basic tests"
echo "run-dynamatic Compiles and runs all test from the dynamitcs git repo"
echo "run-polybench Compiles and runs supported polybench benchmarks"
echo "clean Deletes build directory [$(HLS_TEST_BUILD)]"
echo "help Prints this help text"
endef
.PHONY: help
help:
@$(HELP_TEXT)
JHLS = jhls
HLS_TEST_ROOT ?= $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
include Makefile.sub
.PHONY: run
run: hls-test-run
.PHONY: run-base
run-base: hls-test-base
.PHONY: run-dynamaitc
run-dynamiatic: hls-test-dynamatic
.PHONY: run-
run-polybench: hls-test-polybench
.PHONY: clean
clean: hls-test-clean