mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
read_sdc check for zlib (missing in centos7/tcl5)
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
@@ -72,6 +72,9 @@ proc source_ { filename echo verbose } {
|
||||
if [catch {open $filename r} stream] {
|
||||
sta_error 340 "cannot open '$filename'."
|
||||
} else {
|
||||
if { [info commands zlib] == "" } {
|
||||
sta_error 339 "tcl version > 8.6 required for zlib support."
|
||||
}
|
||||
if { [file extension $filename] == ".gz" } {
|
||||
zlib push gunzip $stream
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user