Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 1 | load("//frc971:downloader.bzl", "robot_downloader") |
| 2 | load("//aos:config.bzl", "aos_config") |
| 3 | load("@com_google_protobuf//:protobuf.bzl", "cc_proto_library") |
| 4 | load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library") |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 5 | load("//tools/build_rules:template.bzl", "jinja2_template") |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 6 | |
| 7 | robot_downloader( |
Austin Schuh | d58b290 | 2020-03-01 19:28:04 -0800 | [diff] [blame] | 8 | binaries = [ |
| 9 | ":setpoint_setter", |
| 10 | ], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 11 | data = [ |
Austin Schuh | 14d7d3d | 2020-09-10 18:14:36 -0700 | [diff] [blame] | 12 | ":config", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 13 | ], |
Ravago Jones | c2a0802 | 2021-02-06 17:40:54 -0800 | [diff] [blame] | 14 | dirs = [ |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 15 | "//y2020/actors:splines", |
Ravago Jones | c2a0802 | 2021-02-06 17:40:54 -0800 | [diff] [blame] | 16 | ], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 17 | start_binaries = [ |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 18 | "//aos/events/logging:logger_main", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 19 | ":joystick_reader", |
| 20 | ":wpilib_interface", |
Austin Schuh | 6aa77be | 2020-02-22 21:06:40 -0800 | [diff] [blame] | 21 | "//aos/network:message_bridge_client", |
| 22 | "//aos/network:message_bridge_server", |
| 23 | "//y2020/actors:binaries", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 24 | "//y2020/control_loops/drivetrain:drivetrain", |
James Kuszmaul | 75a18c5 | 2021-03-10 22:02:07 -0800 | [diff] [blame] | 25 | "//y2020/control_loops/drivetrain:trajectory_generator", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 26 | "//y2020/control_loops/superstructure:superstructure", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 27 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 28 | target_compatible_with = ["@platforms//os:linux"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 29 | ) |
| 30 | |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 31 | robot_downloader( |
| 32 | name = "pi_download", |
Jim Ostrowski | baa4369 | 2020-03-08 16:25:10 -0700 | [diff] [blame] | 33 | binaries = [ |
| 34 | "//y2020/vision:viewer", |
| 35 | ], |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 36 | data = [ |
Austin Schuh | 14d7d3d | 2020-09-10 18:14:36 -0700 | [diff] [blame] | 37 | ":config", |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 38 | ], |
| 39 | dirs = [ |
| 40 | "//y2020/www:www_files", |
| 41 | ], |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 42 | start_binaries = [ |
| 43 | "//aos/network:message_bridge_client", |
| 44 | "//aos/network:message_bridge_server", |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 45 | "//aos/network:web_proxy_main", |
Austin Schuh | 393015b | 2020-04-20 17:24:39 -0700 | [diff] [blame] | 46 | "//y2020/vision:camera_reader", |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 47 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 48 | target_compatible_with = ["//tools/platforms/hardware:raspberry_pi"], |
James Kuszmaul | 2d8fa2a | 2020-03-01 13:51:50 -0800 | [diff] [blame] | 49 | target_type = "pi", |
| 50 | ) |
| 51 | |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 52 | cc_library( |
| 53 | name = "constants", |
| 54 | srcs = [ |
| 55 | "constants.cc", |
| 56 | ], |
| 57 | hdrs = [ |
| 58 | "constants.h", |
| 59 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 60 | target_compatible_with = ["@platforms//os:linux"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 61 | visibility = ["//visibility:public"], |
| 62 | deps = [ |
| 63 | "//aos/logging", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 64 | "//aos/network:team_number", |
Brian Silverman | 1463c09 | 2020-10-30 17:28:24 -0700 | [diff] [blame] | 65 | "//aos/stl_mutex", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 66 | "//frc971:constants", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 67 | "//frc971/control_loops:static_zeroing_single_dof_profiled_subsystem", |
James Kuszmaul | 98154a2 | 2021-04-03 16:09:29 -0700 | [diff] [blame] | 68 | "//frc971/shooter_interpolation:interpolation", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 69 | "//y2020/control_loops/drivetrain:polydrivetrain_plants", |
Austin Schuh | 9dcd520 | 2020-02-20 20:06:04 -0800 | [diff] [blame] | 70 | "//y2020/control_loops/superstructure/accelerator:accelerator_plants", |
| 71 | "//y2020/control_loops/superstructure/control_panel:control_panel_plants", |
| 72 | "//y2020/control_loops/superstructure/finisher:finisher_plants", |
Sabina Davis | a587fbd | 2020-01-31 22:11:15 -0800 | [diff] [blame] | 73 | "//y2020/control_loops/superstructure/hood:hood_plants", |
Sabina Davis | e8d3899 | 2020-02-02 15:00:31 -0800 | [diff] [blame] | 74 | "//y2020/control_loops/superstructure/intake:intake_plants", |
Kai Tinkess | 10943cf | 2020-02-01 15:49:57 -0800 | [diff] [blame] | 75 | "//y2020/control_loops/superstructure/turret:turret_plants", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 76 | "@com_google_absl//absl/base", |
| 77 | ], |
| 78 | ) |
| 79 | |
| 80 | cc_binary( |
| 81 | name = "wpilib_interface", |
| 82 | srcs = [ |
| 83 | "wpilib_interface.cc", |
| 84 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 85 | target_compatible_with = ["//tools/platforms/hardware:roborio"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 86 | deps = [ |
| 87 | ":constants", |
| 88 | "//aos:init", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 89 | "//aos:math", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 90 | "//aos/events:shm_event_loop", |
| 91 | "//aos/logging", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 92 | "//aos/stl_mutex", |
| 93 | "//aos/time", |
| 94 | "//aos/util:log_interval", |
| 95 | "//aos/util:phased_loop", |
| 96 | "//aos/util:wrapping_counter", |
| 97 | "//frc971/autonomous:auto_mode_fbs", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame^] | 98 | "//frc971/control_loops:control_loop", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 99 | "//frc971/control_loops:control_loops_fbs", |
| 100 | "//frc971/control_loops/drivetrain:drivetrain_position_fbs", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame^] | 101 | "//frc971/input:robot_state_fbs", |
James Kuszmaul | a244a91 | 2020-01-18 13:50:50 -0800 | [diff] [blame] | 102 | "//frc971/wpilib:ADIS16470", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 103 | "//frc971/wpilib:buffered_pcm", |
| 104 | "//frc971/wpilib:drivetrain_writer", |
| 105 | "//frc971/wpilib:encoder_and_potentiometer", |
| 106 | "//frc971/wpilib:interrupt_edge_counting", |
| 107 | "//frc971/wpilib:joystick_sender", |
| 108 | "//frc971/wpilib:logging_fbs", |
| 109 | "//frc971/wpilib:loop_output_handler", |
| 110 | "//frc971/wpilib:pdp_fetcher", |
| 111 | "//frc971/wpilib:sensor_reader", |
| 112 | "//frc971/wpilib:wpilib_interface", |
| 113 | "//frc971/wpilib:wpilib_robot_base", |
Alex Perry | c4691f5 | 2020-02-17 19:20:01 -0800 | [diff] [blame] | 114 | "//third_party:phoenix", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 115 | "//third_party:wpilib", |
| 116 | "//y2020/control_loops/superstructure:superstructure_output_fbs", |
| 117 | "//y2020/control_loops/superstructure:superstructure_position_fbs", |
| 118 | ], |
| 119 | ) |
| 120 | |
| 121 | cc_binary( |
| 122 | name = "joystick_reader", |
| 123 | srcs = [ |
| 124 | ":joystick_reader.cc", |
| 125 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 126 | target_compatible_with = ["@platforms//os:linux"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 127 | deps = [ |
Austin Schuh | d58b290 | 2020-03-01 19:28:04 -0800 | [diff] [blame] | 128 | ":setpoint_fbs", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 129 | "//aos:init", |
| 130 | "//aos/actions:action_lib", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 131 | "//aos/logging", |
| 132 | "//frc971/autonomous:auto_fbs", |
| 133 | "//frc971/autonomous:base_autonomous_actor", |
| 134 | "//frc971/control_loops:profiled_subsystem_fbs", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame^] | 135 | "//frc971/input:action_joystick_input", |
| 136 | "//frc971/input:drivetrain_input", |
| 137 | "//frc971/input:joystick_input", |
Sabina Davis | a8fed3d | 2020-02-22 21:44:57 -0800 | [diff] [blame] | 138 | "//y2020:constants", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 139 | "//y2020/control_loops/drivetrain:drivetrain_base", |
| 140 | "//y2020/control_loops/superstructure:superstructure_goal_fbs", |
| 141 | "//y2020/control_loops/superstructure:superstructure_status_fbs", |
| 142 | ], |
| 143 | ) |
| 144 | |
| 145 | aos_config( |
| 146 | name = "config", |
| 147 | src = "y2020.json", |
Austin Schuh | c61e9c0 | 2021-04-26 12:10:40 -0700 | [diff] [blame] | 148 | flatbuffers = [ |
| 149 | "//aos/network:message_bridge_client_fbs", |
| 150 | "//aos/network:message_bridge_server_fbs", |
| 151 | "//aos/network:timestamp_fbs", |
| 152 | "//y2020/vision/sift:sift_fbs", |
| 153 | "//y2020/vision/sift:sift_training_fbs", |
| 154 | "//y2020/vision:vision_fbs", |
| 155 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 156 | target_compatible_with = ["@platforms//os:linux"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 157 | visibility = ["//visibility:public"], |
| 158 | deps = [ |
Austin Schuh | 196a445 | 2020-03-15 23:12:03 -0700 | [diff] [blame] | 159 | ":config_laptop", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 160 | ":config_pi1", |
| 161 | ":config_pi2", |
| 162 | ":config_pi3", |
Austin Schuh | 196a445 | 2020-03-15 23:12:03 -0700 | [diff] [blame] | 163 | ":config_pi4", |
James Kuszmaul | 9c12812 | 2021-03-22 22:24:36 -0700 | [diff] [blame] | 164 | ":config_pi5", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 165 | ":config_roborio", |
| 166 | ], |
| 167 | ) |
| 168 | |
| 169 | [ |
| 170 | aos_config( |
| 171 | name = "config_" + pi, |
| 172 | src = "y2020_" + pi + ".json", |
| 173 | flatbuffers = [ |
| 174 | "//aos/network:message_bridge_client_fbs", |
| 175 | "//aos/network:message_bridge_server_fbs", |
| 176 | "//aos/network:timestamp_fbs", |
| 177 | "//y2020/vision/sift:sift_fbs", |
| 178 | "//y2020/vision/sift:sift_training_fbs", |
| 179 | "//y2020/vision:vision_fbs", |
Austin Schuh | 0de30f3 | 2020-12-06 12:44:28 -0800 | [diff] [blame] | 180 | "//aos/network:remote_message_fbs", |
Austin Schuh | c61e9c0 | 2021-04-26 12:10:40 -0700 | [diff] [blame] | 181 | "//y2020/vision:galactic_search_path_fbs", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 182 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 183 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 184 | visibility = ["//visibility:public"], |
| 185 | deps = [ |
| 186 | "//aos/events:config", |
Austin Schuh | ac17fba | 2020-03-28 15:55:33 -0700 | [diff] [blame] | 187 | "//frc971/control_loops/drivetrain:config", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame^] | 188 | "//frc971/input:config", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 189 | ], |
| 190 | ) |
| 191 | for pi in [ |
| 192 | "pi1", |
| 193 | "pi2", |
| 194 | "pi3", |
Austin Schuh | 196a445 | 2020-03-15 23:12:03 -0700 | [diff] [blame] | 195 | "pi4", |
James Kuszmaul | 9c12812 | 2021-03-22 22:24:36 -0700 | [diff] [blame] | 196 | "pi5", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 197 | ] |
| 198 | ] |
| 199 | |
| 200 | aos_config( |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 201 | name = "config_laptop", |
| 202 | src = "y2020_laptop.json", |
| 203 | flatbuffers = [ |
| 204 | "//aos/network:message_bridge_client_fbs", |
| 205 | "//aos/network:message_bridge_server_fbs", |
| 206 | "//aos/network:timestamp_fbs", |
| 207 | "//y2020/vision/sift:sift_fbs", |
| 208 | "//y2020/vision/sift:sift_training_fbs", |
| 209 | "//y2020/vision:vision_fbs", |
Austin Schuh | 0de30f3 | 2020-12-06 12:44:28 -0800 | [diff] [blame] | 210 | "//aos/network:remote_message_fbs", |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 211 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 212 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 213 | visibility = ["//visibility:public"], |
| 214 | deps = [ |
| 215 | "//aos/events:config", |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 216 | "//frc971/control_loops/drivetrain:config", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame^] | 217 | "//frc971/input:config", |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 218 | ], |
| 219 | ) |
| 220 | |
| 221 | aos_config( |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 222 | name = "config_roborio", |
| 223 | src = "y2020_roborio.json", |
| 224 | flatbuffers = [ |
| 225 | ":setpoint_fbs", |
Austin Schuh | 0de30f3 | 2020-12-06 12:44:28 -0800 | [diff] [blame] | 226 | "//aos/network:remote_message_fbs", |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 227 | "//aos/network:message_bridge_client_fbs", |
| 228 | "//aos/network:message_bridge_server_fbs", |
| 229 | "//aos/network:timestamp_fbs", |
| 230 | "//y2020/control_loops/superstructure:superstructure_goal_fbs", |
| 231 | "//y2019/control_loops/drivetrain:target_selector_fbs", |
| 232 | "//y2020/control_loops/superstructure:superstructure_output_fbs", |
| 233 | "//y2020/control_loops/superstructure:superstructure_position_fbs", |
| 234 | "//y2020/control_loops/superstructure:superstructure_status_fbs", |
| 235 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 236 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | ce3a191 | 2020-03-15 15:14:19 -0700 | [diff] [blame] | 237 | deps = [ |
| 238 | "//aos/events:config", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 239 | "//frc971/autonomous:config", |
| 240 | "//frc971/control_loops/drivetrain:config", |
Austin Schuh | 0a3c9d4 | 2021-07-15 22:36:24 -0700 | [diff] [blame^] | 241 | "//frc971/input:config", |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 242 | "//frc971/wpilib:config", |
| 243 | ], |
| 244 | ) |
| 245 | |
| 246 | py_library( |
| 247 | name = "python_init", |
| 248 | srcs = ["__init__.py"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 249 | target_compatible_with = ["@platforms//os:linux"], |
Stephan Massalt | d021f97 | 2020-01-05 20:41:23 -0800 | [diff] [blame] | 250 | visibility = ["//visibility:public"], |
| 251 | ) |
Alex Perry | 5f474f2 | 2020-02-01 12:14:24 -0800 | [diff] [blame] | 252 | |
| 253 | sh_binary( |
| 254 | name = "web_proxy", |
| 255 | srcs = ["web_proxy.sh"], |
| 256 | data = [ |
Austin Schuh | 14d7d3d | 2020-09-10 18:14:36 -0700 | [diff] [blame] | 257 | ":config", |
Alex Perry | 5f474f2 | 2020-02-01 12:14:24 -0800 | [diff] [blame] | 258 | "//aos/network:web_proxy_main", |
Austin Schuh | da9d060 | 2019-09-15 17:29:38 -0700 | [diff] [blame] | 259 | "//y2020/www:camera_main_bundle.min.js", |
| 260 | "//y2020/www:field_main_bundle.min.js", |
Alex Perry | 5f474f2 | 2020-02-01 12:14:24 -0800 | [diff] [blame] | 261 | "//y2020/www:files", |
Alex Perry | 5f474f2 | 2020-02-01 12:14:24 -0800 | [diff] [blame] | 262 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 263 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | 5f474f2 | 2020-02-01 12:14:24 -0800 | [diff] [blame] | 264 | ) |
Austin Schuh | d58b290 | 2020-03-01 19:28:04 -0800 | [diff] [blame] | 265 | |
| 266 | load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library") |
| 267 | |
| 268 | flatbuffer_cc_library( |
| 269 | name = "setpoint_fbs", |
| 270 | srcs = [ |
| 271 | "setpoint.fbs", |
| 272 | ], |
| 273 | gen_reflections = 1, |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 274 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | d58b290 | 2020-03-01 19:28:04 -0800 | [diff] [blame] | 275 | ) |
| 276 | |
| 277 | cc_binary( |
| 278 | name = "setpoint_setter", |
| 279 | srcs = ["setpoint_setter.cc"], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 280 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | d58b290 | 2020-03-01 19:28:04 -0800 | [diff] [blame] | 281 | deps = [ |
| 282 | ":setpoint_fbs", |
| 283 | "//aos:init", |
| 284 | "//aos/events:shm_event_loop", |
| 285 | ], |
| 286 | ) |
James Kuszmaul | 55d9fc7 | 2020-05-10 18:58:08 -0700 | [diff] [blame] | 287 | |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 288 | [ |
| 289 | jinja2_template( |
| 290 | name = "y2020_pi" + str(num) + ".json", |
| 291 | src = "y2020_pi_template.json", |
| 292 | parameters = {"NUM": str(num)}, |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 293 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 294 | ) |
James Kuszmaul | 9c12812 | 2021-03-22 22:24:36 -0700 | [diff] [blame] | 295 | for num in range(1, 6) |
Austin Schuh | 3a2f4a4 | 2020-09-16 14:10:39 -0700 | [diff] [blame] | 296 | ] |