Commit 49167a7
committed
Skip save_images on headless machines without display
Resolves #3034
final_report.tcl only checks if OpenROAD was compiled with GUI
support before calling gui::show to run save_images.tcl. On
headless machines without a display, this causes a fatal crash
(std::runtime_error abort from Qt platform plugin initialization).
Add a DISPLAY environment check alongside the existing GUI
compilation check so image generation is gracefully skipped
on headless systems.
Signed-off-by: Harsh Kumar Patwa <harshkumarpatwa@gmail.com>
Signed-off-by: Harsh Kumar <harshkumar3446@gmail.com>1 parent d205bf1 commit 49167a7
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
0 commit comments