forked from riscv-software-src/riscv-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sebastien Mirolo
committed
Jul 24, 2013
1 parent
c31d7c5
commit 1f66845
Showing
6 changed files
with
60 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*~ | ||
*.riscv | ||
*.host | ||
*.o | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
prefix := @prefix@ | ||
abs_top_src_dir := @abs_top_srcdir@ | ||
instbasedir := $(DESTDIR)$(prefix) | ||
bmarkdir := $(abs_top_src_dir)/benchmarks | ||
isa_src_dir := $(abs_top_src_dir)/isa | ||
|
||
all: benchmarks isa | ||
|
||
install: all | ||
install -p -m 644 *.hex $(instbasedir)/share/riscv-tests | ||
|
||
benchmarks: | ||
$(MAKE) -f $(bmarkdir)/Makefile bmarkdir=$(bmarkdir) | ||
|
||
isa: | ||
$(MAKE) -f $(isa_src_dir)/Makefile isa_src_dir=$(isa_src_dir) | ||
|
||
.PHONY: benchmarks isa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
About | ||
===== | ||
|
||
Unit tests for RISCV processors | ||
|
||
Building from repository | ||
======================== | ||
|
||
$ git clone https://github.com/ucb-bar/riscv-tests | ||
$ cd riscv-tests | ||
$ autoconf | ||
$ ./configure --prefix=/usr/local | ||
$ make | ||
$ make install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
AC_INIT(riscv-tests, 1.0) | ||
|
||
cross_compiling=yes | ||
AC_PROG_CC([riscv-gcc]) | ||
|
||
AC_OUTPUT( | ||
Makefile | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters