<@U020J2W6Q84> I just noticed that we aren't clear...
# openlane
a
@donn I just noticed that we aren't clearing out the directory (found some files in the run directory from an older run). Looks like it was here: https://github.com/The-OpenROAD-Project/OpenLane/commit/b29b71536b644dd76550dfdfcc09319b4ed86a79#diff-2f17a863ee26772d5d0[…]5ef25b26e9a98fb0dd7fL476
Copy code
-    if { [file exists $::env(RUN_DIR)] } {
-        if { [info exists flags_map(-overwrite)] } {
-            puts_warn "Removing existing run at $::env(RUN_DIR)..."
-            after 1000
-            file delete -force $::env(RUN_DIR)
-        } elseif { ![info exists flags_map(-last_run)] } {
-            puts_warn "A run for $::env(DESIGN_NAME) with tag '$tag' already exists. Pass the -overwrite option to overwrite it."
-            after 1000
-            set skip_basic_prep 1
-        }
-    }
-
-
Was that change intentional?
d
No- I don't know what happened there. Give me a sec.
👍 1
So I appear to have replaced it with something that only performs detection based on the existence of the global config file
<run>/config.tcl
, except apparently, I forgot to make it delete the folder in that scenario. I'll open a PR.