We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 206f487 commit 6ddf166Copy full SHA for 6ddf166
chipflow_lib/steps/silicon.py
@@ -65,6 +65,7 @@ def build_cli_parser(self, parser):
65
66
def run_cli(self, args):
67
if args.action == "submit" and not args.dry_run:
68
+ dotenv.load_dotenv(dotenv_path=dotenv.find_dotenv(usecwd=True))
69
if self.project_name is None:
70
raise ChipFlowError(
71
"Key `chipflow.project_id` is not defined in chipflow.toml; "
@@ -89,7 +90,6 @@ def prepare(self):
89
90
def submit(self, rtlil_path, *, dry_run=False):
91
"""Submit the design to the ChipFlow cloud builder.
92
"""
- dotenv.load_dotenv()
93
git_head = subprocess.check_output(
94
["git", "-C", os.environ["CHIPFLOW_ROOT"],
95
"rev-parse", "HEAD"],
0 commit comments