File tree Expand file tree Collapse file tree 4 files changed +64
-541
lines changed Expand file tree Collapse file tree 4 files changed +64
-541
lines changed Original file line number Diff line number Diff line change 12
12
CMAKE_GEN_ARGS := -G'Unix Makefiles'
13
13
endif
14
14
15
+ CMAKE_ARGS := -DVPR_IPO_BUILD=off
16
+
15
17
# Default build type
16
18
# Possible values:
17
19
# release
@@ -21,29 +23,33 @@ MAKEFLAGS := -s
21
23
22
24
BUILD_DIR =../build
23
25
24
- .PHONY : help build debug
26
+ .PHONY : help build debug test
25
27
26
28
help :
27
29
@echo -e " \n\
28
30
The Following three options are available\n\n \
29
31
build build using the VTR_ROOT makefile \n \
30
32
debug build using the VTR_ROOT makefile with debug flags and extra warning flags for ODIN only\n \
31
33
clean remove the build file for ODIN only\n \
34
+ test run the complete battery of test before commiting changes or to assert functionnalityn\
32
35
"
33
36
34
37
init :
35
38
mkdir -p $(BUILD_DIR )
36
39
37
40
build : clean init
38
41
cd $(BUILD_DIR ) ; \
39
- cmake $(CMAKE_GEN_ARGS ) .. && \
42
+ cmake $(CMAKE_GEN_ARGS ) $( CMAKE_ARGS ) .. && \
40
43
$(BUILDER )
41
44
42
45
debug : clean init
43
46
cd $(BUILD_DIR ) ; \
44
- cmake $(CMAKE_GEN_ARGS ) -DODIN_DEBUG=on .. && \
47
+ cmake $(CMAKE_GEN_ARGS ) $( CMAKE_ARGS ) -DODIN_DEBUG=on .. && \
45
48
$(BUILDER )
46
49
47
50
clean :
48
51
$(RM ) -Rf $(BUILD_DIR ) /CMakeCache.txt
49
52
$(RM ) -Rf $(BUILD_DIR ) /ODIN_II
53
+
54
+ test :
55
+ ./verify_odin.sh --test pre_commit --nb_of_process $(( $(nproc --all ) + 1 ) ) --limit_ressource
You can’t perform that action at this time.
0 commit comments