OSDN Git Service

Subzero: Add a "make check-spec" target.
authorJim Stichnoth <stichnot@chromium.org>
Mon, 2 Nov 2015 16:25:57 +0000 (08:25 -0800)
committerJim Stichnoth <stichnot@chromium.org>
Mon, 2 Nov 2015 16:25:57 +0000 (08:25 -0800)
commit2e7de236a56e32189e0e2e59212d3b36de370b0d
treedae372ff82a664b51b5f3c3809d7552e1f37f280
parent8686139f458786afd21f59aedbb2debabcdff803
Subzero: Add a "make check-spec" target.

"make -f Makefile.standalone check-spec" will translate and run all the spec2k components for a given target.

The advantages are that this can be done all within the subzero directory, and the spec components can be run in parallel via "make -j" (particularly helpful for arm32/qemu).

Default target is x8632, and arm32 is also available.

Example:

  make -j32 -f Makefile.standalone check-spec TARGET=arm32 SPEC="-O2 --filetype=iasm"

Also removes unnecessary tab characters from the makefile, fixes >80-column lines, and gives more consistent indentation.

BUG= none
R=jpp@chromium.org

Review URL: https://codereview.chromium.org/1413033009 .
Makefile.standalone