diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-10-26 14:28:53 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-10-26 14:28:53 -0700 |
commit | 8c66da5e5751c447894a97b828d78e1956b60d0d (patch) | |
tree | afda194fd042407f73a909ee23fe36392776d736 /regression | |
parent | b6a2d0c38969c82247c4e3d8292aa9c2eba93979 (diff) | |
download | riscv-gnu-toolchain-8c66da5e5751c447894a97b828d78e1956b60d0d.zip riscv-gnu-toolchain-8c66da5e5751c447894a97b828d78e1956b60d0d.tar.gz riscv-gnu-toolchain-8c66da5e5751c447894a97b828d78e1956b60d0d.tar.bz2 |
Clean up the regression makefile a bit
Diffstat (limited to 'regression')
-rw-r--r-- | regression/Makefile | 44 |
1 files changed, 29 insertions, 15 deletions
diff --git a/regression/Makefile b/regression/Makefile index 559cdf4..33d8521 100644 --- a/regression/Makefile +++ b/regression/Makefile @@ -1,23 +1,37 @@ .SECONDARY: +report: # The list of target tuples that we want to test. -.PHONY: report -report: report-newlib-rv32i-ilp32-medlow -report: report-newlib-rv32im-ilp32-medlow -report: report-newlib-rv32iac-ilp32-medlow -report: report-newlib-rv32imac-ilp32-medlow -report: report-newlib-rv32imafc-ilp32f-medlow -report: report-newlib-rv64imac-lp64-medlow -report: report-newlib-rv64imafdc-lp64d-medlow -report: report-linux-rv32imac-ilp32-medlow -report: report-linux-rv32imafdc-ilp32-medlow -report: report-linux-rv32imafdc-ilp32d-medlow -report: report-linux-rv64imac-lp64-medlow -report: report-linux-rv64imafdc-lp64-medlow -report: report-linux-rv64imafdc-lp64d-medlow +TARGETS = +TARGETS += newlib-rv32i-ilp32-medlow +TARGETS += newlib-rv32im-ilp32-medlow +TARGETS += newlib-rv32iac-ilp32-medlow +TARGETS += newlib-rv32imac-ilp32-medlow +TARGETS += newlib-rv32imafc-ilp32f-medlow +TARGETS += newlib-rv64imac-lp64-medlow +TARGETS += newlib-rv64imafdc-lp64d-medlow +TARGETS += linux-rv32imac-ilp32-medlow +TARGETS += linux-rv32imafdc-ilp32-medlow +TARGETS += linux-rv32imafdc-ilp32d-medlow +TARGETS += linux-rv64imac-lp64-medlow +TARGETS += linux-rv64imafdc-lp64-medlow +TARGETS += linux-rv64imafdc-lp64d-medlow # This is the link between the report targets and the actual testsuite -# build/test runs. +# build/test runs. It's setup with a level of indirection here to make sure +# that when running "make report" we run all the test suites before running any +# of the reports. Since the various check targets are never supposed to fail, +# this lets me ensure that re-running "make report" is always fast. +.PHONY: check +check: $(addprefix stamps/check-,$(TARGETS)) + +.PHONY: check-% +check-%: stamps/check-% + +.PHONY: report +report: check + $(MAKE) $(addprefix report-,$(TARGETS)) + .PHONY: report-% report-%: stamps/check-% $(eval $@_BUILDDIR := build/$(patsubst report-%,%,$(notdir $@))) |