From f095068630a22006baa569724dc2d01b41d7352c Mon Sep 17 00:00:00 2001 From: Seyed Alireza Damghani Date: Thu, 4 Aug 2022 15:03:59 -0300 Subject: [PATCH] [Infra]: removing the Kokoro configuration files Signed-off-by: Seyed Alireza Damghani --- .github/kokoro/continuous/nightly_test1.cfg | 67 ----------- .github/kokoro/continuous/nightly_test2.cfg | 67 ----------- .github/kokoro/continuous/nightly_test3.cfg | 67 ----------- .github/kokoro/continuous/nightly_test4.cfg | 67 ----------- .github/kokoro/continuous/odin_strong.cfg | 59 --------- .../kokoro/continuous/odin_tech_strong.cfg | 61 ---------- .github/kokoro/continuous/strong.cfg | 67 ----------- .../kokoro/continuous/strong_sanitized.cfg | 71 ----------- .github/kokoro/continuous/weekly.cfg | 68 ----------- .github/kokoro/continuous/yosys_odin_test.cfg | 69 ----------- .github/kokoro/continuous/yosys_test.cfg | 69 ----------- .github/kokoro/presubmit/nightly_test1.cfg | 67 ----------- .github/kokoro/presubmit/nightly_test2.cfg | 67 ----------- .github/kokoro/presubmit/nightly_test3.cfg | 67 ----------- .github/kokoro/presubmit/nightly_test4.cfg | 67 ----------- .github/kokoro/presubmit/odin_strong.cfg | 59 --------- .github/kokoro/presubmit/odin_tech_strong.cfg | 61 ---------- .github/kokoro/presubmit/strong.cfg | 59 --------- .github/kokoro/presubmit/strong_sanitized.cfg | 62 ---------- .github/kokoro/presubmit/yosys_odin_test.cfg | 69 ----------- .github/kokoro/presubmit/yosys_test.cfg | 69 ----------- .github/kokoro/run-vtr.sh | 30 ----- .github/kokoro/steps/git.sh | 29 ----- .github/kokoro/steps/hostinfo.sh | 44 ------- .github/kokoro/steps/hostsetup.sh | 113 ------------------ .github/kokoro/steps/vtr-build.sh | 25 ---- .github/kokoro/steps/vtr-full-setup.sh | 9 -- .github/kokoro/steps/vtr-min-setup.sh | 1 - .github/kokoro/steps/vtr-test.sh | 84 ------------- 29 files changed, 1714 deletions(-) delete mode 100644 .github/kokoro/continuous/nightly_test1.cfg delete mode 100644 .github/kokoro/continuous/nightly_test2.cfg delete mode 100644 .github/kokoro/continuous/nightly_test3.cfg delete mode 100644 .github/kokoro/continuous/nightly_test4.cfg delete mode 100644 .github/kokoro/continuous/odin_strong.cfg delete mode 100644 .github/kokoro/continuous/odin_tech_strong.cfg delete mode 100644 .github/kokoro/continuous/strong.cfg delete mode 100644 .github/kokoro/continuous/strong_sanitized.cfg delete mode 100644 .github/kokoro/continuous/weekly.cfg delete mode 100644 .github/kokoro/continuous/yosys_odin_test.cfg delete mode 100644 .github/kokoro/continuous/yosys_test.cfg delete mode 100644 .github/kokoro/presubmit/nightly_test1.cfg delete mode 100644 .github/kokoro/presubmit/nightly_test2.cfg delete mode 100644 .github/kokoro/presubmit/nightly_test3.cfg delete mode 100644 .github/kokoro/presubmit/nightly_test4.cfg delete mode 100644 .github/kokoro/presubmit/odin_strong.cfg delete mode 100644 .github/kokoro/presubmit/odin_tech_strong.cfg delete mode 100644 .github/kokoro/presubmit/strong.cfg delete mode 100644 .github/kokoro/presubmit/strong_sanitized.cfg delete mode 100644 .github/kokoro/presubmit/yosys_odin_test.cfg delete mode 100644 .github/kokoro/presubmit/yosys_test.cfg delete mode 100755 .github/kokoro/run-vtr.sh delete mode 100755 .github/kokoro/steps/git.sh delete mode 100755 .github/kokoro/steps/hostinfo.sh delete mode 100755 .github/kokoro/steps/hostsetup.sh delete mode 100644 .github/kokoro/steps/vtr-build.sh delete mode 100755 .github/kokoro/steps/vtr-full-setup.sh delete mode 100755 .github/kokoro/steps/vtr-min-setup.sh delete mode 100644 .github/kokoro/steps/vtr-test.sh diff --git a/.github/kokoro/continuous/nightly_test1.cfg b/.github/kokoro/continuous/nightly_test1.cfg deleted file mode 100644 index 402649c15e3..00000000000 --- a/.github/kokoro/continuous/nightly_test1.cfg +++ /dev/null @@ -1,67 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "continuous" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_nightly_test1" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/continuous/nightly_test2.cfg b/.github/kokoro/continuous/nightly_test2.cfg deleted file mode 100644 index 83928d60a8f..00000000000 --- a/.github/kokoro/continuous/nightly_test2.cfg +++ /dev/null @@ -1,67 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "continuous" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_nightly_test2" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/continuous/nightly_test3.cfg b/.github/kokoro/continuous/nightly_test3.cfg deleted file mode 100644 index 1bfa8dec745..00000000000 --- a/.github/kokoro/continuous/nightly_test3.cfg +++ /dev/null @@ -1,67 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "continuous" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_nightly_test3" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/continuous/nightly_test4.cfg b/.github/kokoro/continuous/nightly_test4.cfg deleted file mode 100644 index e7821c58240..00000000000 --- a/.github/kokoro/continuous/nightly_test4.cfg +++ /dev/null @@ -1,67 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "continuous" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_nightly_test4" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/continuous/odin_strong.cfg b/.github/kokoro/continuous/odin_strong.cfg deleted file mode 100644 index 3b5111509b6..00000000000 --- a/.github/kokoro/continuous/odin_strong.cfg +++ /dev/null @@ -1,59 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 12 hours -timeout_mins: 720 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "continuous" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "" -} - -env_vars { - key: "VTR_TEST" - value: "odin_reg_strong" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "3" -} diff --git a/.github/kokoro/continuous/odin_tech_strong.cfg b/.github/kokoro/continuous/odin_tech_strong.cfg deleted file mode 100644 index ee2ec61e75c..00000000000 --- a/.github/kokoro/continuous/odin_tech_strong.cfg +++ /dev/null @@ -1,61 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto -# Odin_tech_strong test checks the Odin-II technology mapping for -# Yosys+Odin-II over Odin-II techmap_heavysuite (excluding ABC and VPR) - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 12 hours -timeout_mins: 720 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "continuous" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "-DODIN_USE_YOSYS=ON" -} - -env_vars { - key: "VTR_TEST" - value: "odin_tech_strong" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "3" -} diff --git a/.github/kokoro/continuous/strong.cfg b/.github/kokoro/continuous/strong.cfg deleted file mode 100644 index 0855954b58c..00000000000 --- a/.github/kokoro/continuous/strong.cfg +++ /dev/null @@ -1,67 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 1 hour -timeout_mins: 60 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "continuous" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Enable extra assertion checking for strong test -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "-DVTR_ASSERT_LEVEL=3" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_strong" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/continuous/strong_sanitized.cfg b/.github/kokoro/continuous/strong_sanitized.cfg deleted file mode 100644 index e2595c0e84c..00000000000 --- a/.github/kokoro/continuous/strong_sanitized.cfg +++ /dev/null @@ -1,71 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 4 hour -timeout_mins: 240 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "continuous" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#VTR build configuration options: -# -DVTR_ASSERT_LEVEL=3: Enable extra assertion checking -# -DVTR_ENABLE_SANITIZE=ON: Enable compiler sanitizers (check for memory issues, undefined behaviour, etc.) -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "-DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=ON" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_strong" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -# -skip_qor: Skip QoR checks (since we expect run-time failures due to sanitizers) -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures -skip_qor" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/continuous/weekly.cfg b/.github/kokoro/continuous/weekly.cfg deleted file mode 100644 index 3833144b3eb..00000000000 --- a/.github/kokoro/continuous/weekly.cfg +++ /dev/null @@ -1,68 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 5 days -timeout_mins: 18000 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "continuous" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_weekly" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "3" -} diff --git a/.github/kokoro/continuous/yosys_odin_test.cfg b/.github/kokoro/continuous/yosys_odin_test.cfg deleted file mode 100644 index cab28e1e447..00000000000 --- a/.github/kokoro/continuous/yosys_odin_test.cfg +++ /dev/null @@ -1,69 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto -# vtr_reg_yosys_odin test runs the VTR benchmarks through -# the entire VTR with Yosys+Odin-II as the first CAD tool - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "continuous" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "-DODIN_USE_YOSYS=ON" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_yosys_odin" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/continuous/yosys_test.cfg b/.github/kokoro/continuous/yosys_test.cfg deleted file mode 100644 index 8573f1b7119..00000000000 --- a/.github/kokoro/continuous/yosys_test.cfg +++ /dev/null @@ -1,69 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto -# vtr_reg_yosys test runs the VTR benchmarks through -# the entire VTR with Yosys as the first CAD tool - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "continuous" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "-DWITH_YOSYS=ON" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_yosys" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} \ No newline at end of file diff --git a/.github/kokoro/presubmit/nightly_test1.cfg b/.github/kokoro/presubmit/nightly_test1.cfg deleted file mode 100644 index a88b7b8561c..00000000000 --- a/.github/kokoro/presubmit/nightly_test1.cfg +++ /dev/null @@ -1,67 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "presubmit" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_nightly_test1" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/presubmit/nightly_test2.cfg b/.github/kokoro/presubmit/nightly_test2.cfg deleted file mode 100644 index 7754ca0ff81..00000000000 --- a/.github/kokoro/presubmit/nightly_test2.cfg +++ /dev/null @@ -1,67 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "presubmit" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_nightly_test2" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/presubmit/nightly_test3.cfg b/.github/kokoro/presubmit/nightly_test3.cfg deleted file mode 100644 index 82fd5719bbb..00000000000 --- a/.github/kokoro/presubmit/nightly_test3.cfg +++ /dev/null @@ -1,67 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "presubmit" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_nightly_test3" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/presubmit/nightly_test4.cfg b/.github/kokoro/presubmit/nightly_test4.cfg deleted file mode 100644 index 4b12a5a09c4..00000000000 --- a/.github/kokoro/presubmit/nightly_test4.cfg +++ /dev/null @@ -1,67 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "presubmit" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_nightly_test4" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/presubmit/odin_strong.cfg b/.github/kokoro/presubmit/odin_strong.cfg deleted file mode 100644 index 669e72439fc..00000000000 --- a/.github/kokoro/presubmit/odin_strong.cfg +++ /dev/null @@ -1,59 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 12 hours -timeout_mins: 720 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "presubmit" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "" -} - -env_vars { - key: "VTR_TEST" - value: "odin_reg_strong" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "3" -} diff --git a/.github/kokoro/presubmit/odin_tech_strong.cfg b/.github/kokoro/presubmit/odin_tech_strong.cfg deleted file mode 100644 index 4225060bcbd..00000000000 --- a/.github/kokoro/presubmit/odin_tech_strong.cfg +++ /dev/null @@ -1,61 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto -# Odin_tech_strong test checks the Odin-II technology mapping for -# Yosys+Odin-II over Odin-II techmap_heavysuite (excluding ABC and VPR) - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 12 hours -timeout_mins: 720 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "presubmit" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "-DODIN_USE_YOSYS=ON" -} - -env_vars { - key: "VTR_TEST" - value: "odin_tech_strong" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "3" -} diff --git a/.github/kokoro/presubmit/strong.cfg b/.github/kokoro/presubmit/strong.cfg deleted file mode 100644 index c61cb39d781..00000000000 --- a/.github/kokoro/presubmit/strong.cfg +++ /dev/null @@ -1,59 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 1 hour -timeout_mins: 60 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "presubmit" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Enable extra assertion checking for strong test -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "-DVTR_ASSERT_LEVEL=3" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_strong" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/presubmit/strong_sanitized.cfg b/.github/kokoro/presubmit/strong_sanitized.cfg deleted file mode 100644 index 2387193045d..00000000000 --- a/.github/kokoro/presubmit/strong_sanitized.cfg +++ /dev/null @@ -1,62 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 4 hour -timeout_mins: 240 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "presubmit" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#VTR build configuration options: -# -DVTR_ASSERT_LEVEL=3: Enable extra assertion checking -# -DVTR_ENABLE_SANITIZE=ON: Enable compiler sanitizers (check for memory issues, undefined behaviour, etc.) -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "-DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=ON" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_strong" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -# -skip_qor: Skip QoR checks (since we expect run-time failures due to sanitizers) -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures -skip_qor" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/presubmit/yosys_odin_test.cfg b/.github/kokoro/presubmit/yosys_odin_test.cfg deleted file mode 100644 index b3677d97982..00000000000 --- a/.github/kokoro/presubmit/yosys_odin_test.cfg +++ /dev/null @@ -1,69 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto -# vtr_reg_yosys_odin test runs the VTR benchmarks through -# the entire VTR with Yosys+Odin-II as the first CAD tool - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "presubmit" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "-DODIN_USE_YOSYS=ON" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_yosys_odin" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/presubmit/yosys_test.cfg b/.github/kokoro/presubmit/yosys_test.cfg deleted file mode 100644 index 1f416bc4a6d..00000000000 --- a/.github/kokoro/presubmit/yosys_test.cfg +++ /dev/null @@ -1,69 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto -# vtr_reg_yosys test runs the VTR benchmarks through -# the entire VTR with Yosys as the first CAD tool - -build_file: "vtr-verilog-to-routing/.github/kokoro/run-vtr.sh" - -# 72 hours -timeout_mins: 4320 - -action { - define_artifacts { - # File types - regex: "**/*.out" - regex: "**/vpr_stdout.log" - regex: "**/parse_results.txt" - regex: "**/qor_results.txt" - regex: "**/pack.log" - regex: "**/place.log" - regex: "**/route.log" - regex: "**/*_qor.csv" - regex: "**/*.out.gz" - regex: "**/vpr_stdout.log.gz" - regex: "**/parse_results.txt.gz" - regex: "**/qor_results.txt.gz" - regex: "**/pack.log.gz" - regex: "**/place.log.gz" - regex: "**/route.log.gz" - regex: "**/*_qor.csv.gz" - strip_prefix: "github/vtr-verilog-to-routing/" - } -} - -env_vars { - key: "KOKORO_TYPE" - value: "presubmit" -} - -env_vars { - key: "KOKORO_DIR" - value: "vtr-verilog-to-routing" -} - -env_vars { - key: "VTR_DIR" - value: "vtr-verilog-to-routing" -} - -#Use default build configuration -env_vars { - key: "VTR_CMAKE_PARAMS" - value: "-DWITH_YOSYS=ON" -} - -env_vars { - key: "VTR_TEST" - value: "vtr_reg_yosys" -} - -#Options for run_reg_test.py -# -show_failures: show tool failures in main log output -env_vars { - key: "VTR_TEST_OPTIONS" - value: "-show_failures" -} - -env_vars { - key: "NUM_CORES" - value: "8" -} diff --git a/.github/kokoro/run-vtr.sh b/.github/kokoro/run-vtr.sh deleted file mode 100755 index ec967b1216d..00000000000 --- a/.github/kokoro/run-vtr.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" - -set -x -set -e - -# Set up the host -ls -l -cd github -ls -l -cd vtr-verilog-to-routing -export VTR_DIR=$( pwd ) -source $SCRIPT_DIR/steps/hostsetup.sh -source $SCRIPT_DIR/steps/hostinfo.sh - -# Output git information -source $SCRIPT_DIR/steps/git.sh - -if [ $VTR_TEST == "vtr_reg_strong" ] || [ $VTR_TEST == "odin_reg_strong" ] \ -|| [ $VTR_TEST == "odin_tech_strong" ] || [ $VTR_TEST == "vtr_reg_yosys_odin" ]; then - source $SCRIPT_DIR/steps/vtr-min-setup.sh -else - source $SCRIPT_DIR/steps/vtr-full-setup.sh -fi - -# Build VtR -source $SCRIPT_DIR/steps/vtr-build.sh -# Run the reg test. -source $SCRIPT_DIR/steps/vtr-test.sh diff --git a/.github/kokoro/steps/git.sh b/.github/kokoro/steps/git.sh deleted file mode 100755 index 155e7704f95..00000000000 --- a/.github/kokoro/steps/git.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -set -e - -echo -echo "========================================" -echo "Git log" -echo "----------------------------------------" -git log -n5 --stat -echo "----------------------------------------" - -echo -echo "========================================" -echo "Git fetching tags" -echo "----------------------------------------" -# Don't fail if there are no tags -git fetch --tags || true -echo "----------------------------------------" - -echo -echo "========================================" -echo "Git version info" -echo "----------------------------------------" -git log -n1 -echo "----------------------------------------" -git describe --tags || true -echo "----------------------------------------" -git describe --tags --always || true -echo "----------------------------------------" diff --git a/.github/kokoro/steps/hostinfo.sh b/.github/kokoro/steps/hostinfo.sh deleted file mode 100755 index b344fb974c9..00000000000 --- a/.github/kokoro/steps/hostinfo.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -set -e - -echo -echo "========================================" -echo "Host Environment" -echo "----------------------------------------" -export -echo "----------------------------------------" - -echo -echo "========================================" -echo "Host CPU" -echo "----------------------------------------" - -export LOGICAL_CORES=$(nproc --all) -echo "Logical Cores (counting SMT/HT): $LOGICAL_CORES" - -#The 2nd column of lscpu -p contains the core ID, with each physical -# core having 1 or (in the case of SMT/hyperthreading) more logical -# CPUs. Counting the *unique* core IDs across lines tells us the number -# of *physical* CPUs (cores). -export PHYSICAL_CORES=$(lscpu -p | egrep -v '^#' | sort -u -t, -k 2,4 | wc -l) -echo "Physical Cores (ignoring SMT/HT): $PHYSICAL_CORES" - -export MEM_GB=$(($(awk '/MemTotal/ {print $2}' /proc/meminfo)/(1024*1024))) -echo "Memory (GB): $MEM_GB" - -echo -echo "CPU Details" -echo "----------------------------------------" -lscpu -echo "----------------------------------------" -echo -echo "Memory" -echo "----------------------------------------" -cat /proc/meminfo -echo "----------------------------------------" -echo "----------------------------------------" -echo "Process limits:" -echo "----------------------------------------" -ulimit -a -echo "----------------------------------------" diff --git a/.github/kokoro/steps/hostsetup.sh b/.github/kokoro/steps/hostsetup.sh deleted file mode 100755 index 15f01bdde4a..00000000000 --- a/.github/kokoro/steps/hostsetup.sh +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/bash - -set -e - -echo -echo "========================================" -echo "Removing older packages" -echo "----------------------------------------" -sudo apt-get remove -y cmake -echo "----------------------------------------" - -echo -echo "========================================" -echo "Update the CA certificates" -echo "----------------------------------------" -sudo apt-get install -y ca-certificates -echo "----------------------------------------" -sudo update-ca-certificates -echo "----------------------------------------" - -echo -echo "========================================" -echo "Remove the expired letsencrypt.org cert " -echo "----------------------------------------" -sudo rm /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt -echo "----------------------------------------" -sudo update-ca-certificates -echo "----------------------------------------" -wget https://helloworld.letsencrypt.org/ || true -echo "----------------------------------------" - - -echo -echo "========================================" -echo "Host adding PPAs" -echo "----------------------------------------" -wget --no-check-certificate -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add - -sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main' -sudo add-apt-repository ppa:ubuntu-toolchain-r/test -echo "----------------------------------------" - -echo -echo "========================================" -echo "Host updating packages" -echo "----------------------------------------" -sudo apt-get update -echo "----------------------------------------" - -echo -echo "========================================" -echo "Host install packages" -echo "----------------------------------------" - -sudo apt-get install -y \ - bash \ - bison \ - build-essential \ - ca-certificates \ - clang \ - cmake \ - colordiff \ - coreutils \ - curl \ - flex \ - gawk \ - gcc-9 \ - g++-9 \ - git \ - graphviz \ - inkscape \ - jq \ - libboost-filesystem-dev \ - libboost-python-dev \ - libboost-system-dev \ - libffi-dev \ - libgtk-3-dev \ - libreadline-dev \ - libx11-dev \ - make \ - ninja-build \ - nodejs \ - pkg-config \ - psmisc \ - python \ - python3 \ - python3-dev \ - python3-virtualenv \ - python3-yaml \ - qt5-default \ - tcl-dev \ - virtualenv \ - xdot \ - zlib1g-dev - #Don't include libtbb-dev since it may increase memory usage - #libtbb-dev \ - -export PATH="$PATH:/home/kbuilder/.local/bin" - -export CC=gcc-9 -export CXX=g++-9 - -pyenv install -f 3.7.0 -pyenv global 3.7.0 -curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py -python3 get-pip.py -rm get-pip.py -python3 -m pip install -r requirements.txt - -if [ -z "${BUILD_TOOL}" ]; then - export BUILD_TOOL=make -fi - -echo "----------------------------------------" diff --git a/.github/kokoro/steps/vtr-build.sh b/.github/kokoro/steps/vtr-build.sh deleted file mode 100644 index 9848dc3e44a..00000000000 --- a/.github/kokoro/steps/vtr-build.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -if [ -z ${VTR_CMAKE_PARAMS+x} ]; then - echo "Missing $$VTR_CMAKE_PARAMS value" - exit 1 -fi - -if [ -z $LOGICAL_CORES ]; then - echo "Missing $$LOGICAL_CORES value" - exit 1 -fi - -export FAILURE=0 -make -k CMAKE_PARAMS="$VTR_CMAKE_PARAMS" -j$LOGICAL_CORES || export FAILURE=1 - -echo -echo -echo -echo - -# When the build fails, produce the failure output in a clear way -if [ $FAILURE -ne 0 ]; then - make CMAKE_PARAMS="$VTR_CMAKE_PARAMS" -j1 - exit 1 -fi diff --git a/.github/kokoro/steps/vtr-full-setup.sh b/.github/kokoro/steps/vtr-full-setup.sh deleted file mode 100755 index f8587c4547a..00000000000 --- a/.github/kokoro/steps/vtr-full-setup.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -make get_titan_benchmarks -make get_ispd_benchmarks - -dev/upgrade_vtr_archs.sh - -# Symbiflow archs do not require update -make get_symbiflow_benchmarks diff --git a/.github/kokoro/steps/vtr-min-setup.sh b/.github/kokoro/steps/vtr-min-setup.sh deleted file mode 100755 index a9bf588e2f8..00000000000 --- a/.github/kokoro/steps/vtr-min-setup.sh +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash diff --git a/.github/kokoro/steps/vtr-test.sh b/.github/kokoro/steps/vtr-test.sh deleted file mode 100644 index 451532823c3..00000000000 --- a/.github/kokoro/steps/vtr-test.sh +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/bash - -if [ -z ${VTR_TEST+x} ]; then - echo "Missing $$VTR_TEST value" - exit 1 -fi - -if [ -z ${VTR_TEST_OPTIONS+x} ]; then - echo "Missing $$VTR_TEST_OPTIONS value" - exit 1 -fi - -if [ -z $NUM_CORES ]; then - echo "Missing $$NUM_CORES value" - exit 1 -fi - -echo $PWD -pwd -pwd -L -pwd -P -cd $(realpath $(pwd)) -echo $PWD -pwd -pwd -L -pwd -P - -( - while : - do - date - uptime - free -h - sleep 300 - done -) & -MONITOR=$! - -echo "========================================" -echo "VPR Build Info" -echo "========================================" -./vpr/vpr --version - -echo "========================================" -echo "Running Tests" -echo "========================================" -export VPR_NUM_WORKERS=1 - -set +e -./run_reg_test.py $VTR_TEST $VTR_TEST_OPTIONS -j$NUM_CORES -TEST_RESULT=$? -set -e -kill $MONITOR - -echo "========================================" -echo "Cleaning benchmarks files" -echo "========================================" -# Removing Symbiflow archs and benchmarks -find vtr_flow/arch/symbiflow/ -type f -not -name 'README.*' -delete -find vtr_flow/benchmarks/symbiflow/ -type f -not -name 'README.*' -delete - -# Removing ISPD benchmarks -find vtr_flow/benchmarks/ispd_blif/ -type f -not -name 'README.*' -delete - -# Removing Titan benchmarks -find vtr_flow/benchmarks/titan_blif/ -type f -not -name 'README.*' -delete - -# Removing ISPD, Titan and Symbiflow tarballs -find . -type f -regex ".*\.tar\.\(gz\|xz\)" -delete - -#Gzip output files from vtr_reg_nightly tests to lower working directory disk space -find vtr_flow/tasks/regression_tests/vtr_reg_nightly_test1/ -type f -print0 | xargs -0 -P $(nproc) gzip -find vtr_flow/tasks/regression_tests/vtr_reg_nightly_test2/ -type f -print0 | xargs -0 -P $(nproc) gzip -find vtr_flow/tasks/regression_tests/vtr_reg_nightly_test3/ -type f -print0 | xargs -0 -P $(nproc) gzip -find vtr_flow/tasks/regression_tests/vtr_reg_nightly_test4/ -type f -print0 | xargs -0 -P $(nproc) gzip - -# Make sure working directory doesn't exceed disk space limit! -echo "Working directory size: $(du -sh)" -if [[ $(du -s | cut -d $'\t' -f 1) -gt $(expr 1024 \* 1024 \* 90) ]]; then - echo "Working directory too large!" - exit 1 -fi - -exit $TEST_RESULT