Skip to content

Commit 782ff36

Browse files
committed
2 parents 45ccff2 + 852e336 commit 782ff36

File tree

404 files changed

+570916
-238275
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404 files changed

+570916
-238275
lines changed

.github/gha/install_dependencies.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,17 @@ sudo apt install -y \
3535
zip \
3636
qt5-default \
3737
clang-format-7 \
38-
g++-5 \
39-
gcc-5 \
40-
g++-6 \
41-
gcc-6 \
4238
g++-7 \
4339
gcc-7 \
4440
g++-8 \
4541
gcc-8 \
4642
g++-9 \
4743
gcc-9 \
44+
g++-10 \
45+
gcc-10 \
46+
g++-11 \
47+
gcc-11 \
4848
clang-6.0 \
49-
clang-8
49+
clang-7 \
50+
clang-10
5051
# libtbb-dev

.github/kokoro/presubmit/nightly.cfg renamed to .github/kokoro/presubmit/nightly_test1.cfg

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ action {
1616
regex: "**/place.log"
1717
regex: "**/route.log"
1818
regex: "**/*_qor.csv"
19+
regex: "**/*.out.gz"
20+
regex: "**/vpr_stdout.log.gz"
21+
regex: "**/parse_results.txt.gz"
22+
regex: "**/qor_results.txt.gz"
23+
regex: "**/pack.log.gz"
24+
regex: "**/place.log.gz"
25+
regex: "**/route.log.gz"
26+
regex: "**/*_qor.csv.gz"
1927
strip_prefix: "github/vtr-verilog-to-routing/"
2028
}
2129
}
@@ -43,7 +51,7 @@ env_vars {
4351

4452
env_vars {
4553
key: "VTR_TEST"
46-
value: "vtr_reg_nightly"
54+
value: "vtr_reg_nightly_test1"
4755
}
4856

4957
#Options for run_reg_test.py
@@ -55,5 +63,5 @@ env_vars {
5563

5664
env_vars {
5765
key: "NUM_CORES"
58-
value: "3"
66+
value: "8"
5967
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh"
4+
5+
# 72 hours
6+
timeout_mins: 4320
7+
8+
action {
9+
define_artifacts {
10+
# File types
11+
regex: "**/*.out"
12+
regex: "**/vpr_stdout.log"
13+
regex: "**/parse_results.txt"
14+
regex: "**/qor_results.txt"
15+
regex: "**/pack.log"
16+
regex: "**/place.log"
17+
regex: "**/route.log"
18+
regex: "**/*_qor.csv"
19+
regex: "**/*.out.gz"
20+
regex: "**/vpr_stdout.log.gz"
21+
regex: "**/parse_results.txt.gz"
22+
regex: "**/qor_results.txt.gz"
23+
regex: "**/pack.log.gz"
24+
regex: "**/place.log.gz"
25+
regex: "**/route.log.gz"
26+
regex: "**/*_qor.csv.gz"
27+
strip_prefix: "github/vtr-verilog-to-routing/"
28+
}
29+
}
30+
31+
env_vars {
32+
key: "KOKORO_TYPE"
33+
value: "presubmit"
34+
}
35+
36+
env_vars {
37+
key: "KOKORO_DIR"
38+
value: "vtr-verilog-to-routing"
39+
}
40+
41+
env_vars {
42+
key: "VTR_DIR"
43+
value: "vtr-verilog-to-routing"
44+
}
45+
46+
#Use default build configuration
47+
env_vars {
48+
key: "VTR_CMAKE_PARAMS"
49+
value: ""
50+
}
51+
52+
env_vars {
53+
key: "VTR_TEST"
54+
value: "vtr_reg_nightly_test2"
55+
}
56+
57+
#Options for run_reg_test.py
58+
# -show_failures: show tool failures in main log output
59+
env_vars {
60+
key: "VTR_TEST_OPTIONS"
61+
value: "-show_failures"
62+
}
63+
64+
env_vars {
65+
key: "NUM_CORES"
66+
value: "8"
67+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh"
4+
5+
# 72 hours
6+
timeout_mins: 4320
7+
8+
action {
9+
define_artifacts {
10+
# File types
11+
regex: "**/*.out"
12+
regex: "**/vpr_stdout.log"
13+
regex: "**/parse_results.txt"
14+
regex: "**/qor_results.txt"
15+
regex: "**/pack.log"
16+
regex: "**/place.log"
17+
regex: "**/route.log"
18+
regex: "**/*_qor.csv"
19+
regex: "**/*.out.gz"
20+
regex: "**/vpr_stdout.log.gz"
21+
regex: "**/parse_results.txt.gz"
22+
regex: "**/qor_results.txt.gz"
23+
regex: "**/pack.log.gz"
24+
regex: "**/place.log.gz"
25+
regex: "**/route.log.gz"
26+
regex: "**/*_qor.csv.gz"
27+
strip_prefix: "github/vtr-verilog-to-routing/"
28+
}
29+
}
30+
31+
env_vars {
32+
key: "KOKORO_TYPE"
33+
value: "presubmit"
34+
}
35+
36+
env_vars {
37+
key: "KOKORO_DIR"
38+
value: "vtr-verilog-to-routing"
39+
}
40+
41+
env_vars {
42+
key: "VTR_DIR"
43+
value: "vtr-verilog-to-routing"
44+
}
45+
46+
#Use default build configuration
47+
env_vars {
48+
key: "VTR_CMAKE_PARAMS"
49+
value: ""
50+
}
51+
52+
env_vars {
53+
key: "VTR_TEST"
54+
value: "vtr_reg_nightly_test3"
55+
}
56+
57+
#Options for run_reg_test.py
58+
# -show_failures: show tool failures in main log output
59+
env_vars {
60+
key: "VTR_TEST_OPTIONS"
61+
value: "-show_failures"
62+
}
63+
64+
env_vars {
65+
key: "NUM_CORES"
66+
value: "8"
67+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh"
4+
5+
# 72 hours
6+
timeout_mins: 4320
7+
8+
action {
9+
define_artifacts {
10+
# File types
11+
regex: "**/*.out"
12+
regex: "**/vpr_stdout.log"
13+
regex: "**/parse_results.txt"
14+
regex: "**/qor_results.txt"
15+
regex: "**/pack.log"
16+
regex: "**/place.log"
17+
regex: "**/route.log"
18+
regex: "**/*_qor.csv"
19+
regex: "**/*.out.gz"
20+
regex: "**/vpr_stdout.log.gz"
21+
regex: "**/parse_results.txt.gz"
22+
regex: "**/qor_results.txt.gz"
23+
regex: "**/pack.log.gz"
24+
regex: "**/place.log.gz"
25+
regex: "**/route.log.gz"
26+
regex: "**/*_qor.csv.gz"
27+
strip_prefix: "github/vtr-verilog-to-routing/"
28+
}
29+
}
30+
31+
env_vars {
32+
key: "KOKORO_TYPE"
33+
value: "presubmit"
34+
}
35+
36+
env_vars {
37+
key: "KOKORO_DIR"
38+
value: "vtr-verilog-to-routing"
39+
}
40+
41+
env_vars {
42+
key: "VTR_DIR"
43+
value: "vtr-verilog-to-routing"
44+
}
45+
46+
#Use default build configuration
47+
env_vars {
48+
key: "VTR_CMAKE_PARAMS"
49+
value: ""
50+
}
51+
52+
env_vars {
53+
key: "VTR_TEST"
54+
value: "vtr_reg_nightly_test4"
55+
}
56+
57+
#Options for run_reg_test.py
58+
# -show_failures: show tool failures in main log output
59+
env_vars {
60+
key: "VTR_TEST_OPTIONS"
61+
value: "-show_failures"
62+
}
63+
64+
env_vars {
65+
key: "NUM_CORES"
66+
value: "8"
67+
}

.github/kokoro/steps/vtr-test.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ find vtr_flow/benchmarks/titan_blif/ -type f -not -name 'README.*' -delete
6969
find . -type f -regex ".*\.tar\.\(gz\|xz\)" -delete
7070

7171
#Gzip output files from vtr_reg_nightly tests to lower working directory disk space
72-
find vtr_flow/tasks/regression_tests/vtr_reg_nightly/ -type f -print0 | xargs -0 -P $(nproc) gzip
72+
find vtr_flow/tasks/regression_tests/vtr_reg_nightly_test1/ -type f -print0 | xargs -0 -P $(nproc) gzip
73+
find vtr_flow/tasks/regression_tests/vtr_reg_nightly_test2/ -type f -print0 | xargs -0 -P $(nproc) gzip
74+
find vtr_flow/tasks/regression_tests/vtr_reg_nightly_test3/ -type f -print0 | xargs -0 -P $(nproc) gzip
75+
find vtr_flow/tasks/regression_tests/vtr_reg_nightly_test4/ -type f -print0 | xargs -0 -P $(nproc) gzip
7376

7477
# Make sure working directory doesn't exceed disk space limit!
7578
echo "Working directory size: $(du -sh)"

.github/travis/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $SPACER
77

88
start_section "vtr.build" "${GREEN}Building..${NC}"
99
export FAILURE=0
10-
make -k BUILD_TYPE=${BUILD_TYPE} CMAKE_PARAMS="${CMAKE_PARAMS} ${CMAKE_INSTALL_PREFIX_PARAMS}" -j2 || export FAILURE=1
10+
make -k BUILD_TYPE=${BUILD_TYPE} CMAKE_PARAMS="-Werror=dev ${CMAKE_PARAMS} ${CMAKE_INSTALL_PREFIX_PARAMS}" -j2 || export FAILURE=1
1111
end_section "vtr.build"
1212

1313
# When the build fails, produce the failure output in a clear way

.github/travis/setup.sh

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)