forked from riscv-non-isa/riscv-arch-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.include
32 lines (23 loc) · 1.46 KB
/
Makefile.include
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
# set TARGETDIR to point to the directory which contains a sub-folder in the same name as the target
export TARGETDIR ?= $(ROOTDIR)/riscv-target
# set XLEN to max supported XLEN. Allowed values are 32 and 64
export XLEN ?= 32
# name of the target. Note a folder of the same name must exist in the TARGETDIR directory
export RISCV_TARGET ?= spike
#set the RISCV_DEVICE environment to the extension you want to compile, simulate and verify. Leave
#this blank if you want to iterate through all the supported extensions of your target. Allowed values
#are the individual names of the extensions supported by your target like: I, M, C or Zifencei, etc.
#Only one extension can be selected at once.
export RISCV_DEVICE ?=
# set RISCV_TEST to the name of a test to run only that single test in the selected device. It is an error
# to specify a test that doesn't exist in the selected device.
# Leave blank to run all selected tests.
export RISCV_TEST ?=
# set this to a string which needs to be passed to your target Makefile.include files
export RISCV_TARGET_FLAGS ?=
# set this if you want to enable assertions on the test-suites. Currently no tests support
# assertions.
export RISCV_ASSERT ?= 0
# set the number of parallel jobs (along with any other arguments) you would like to execute. Note that the target needs to ensure
# that no common files across jobs are created/overwritten leading to unknown behavior
JOBS ?= -j1