The-OpenROAD-Project / bazel-orfs

BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

bazel-orfs: centralize mapping of variables onto stages #140

Closed oharboe closed 1 month ago

oharboe commented 1 month ago

The user no longer has to guess which argument goes into which stage, but the list of this mapping is hardcoded into bazel-orfs.

If an argument is missing from STAGE_ARGS_USES, an error message is printed that includes:

if stage in STAGE_ARGS_USES[arg]} Error: key "SDC_FILE" not found in dictionary

oharboe commented 1 month ago

@hovind Thoughts?