mirror of
https://github.com/verilator/verilator.git
synced 2024-12-29 10:47:34 +00:00
driver.py: Properly detect cfg with ccache (#5579)
This commit is contained in:
parent
b097cec72d
commit
76b4c2f254
@ -2412,7 +2412,7 @@ class VlTest:
|
||||
if VlTest._cached_cfg_with_ccache is None:
|
||||
mkf = VlTest._file_contents_static(os.environ['VERILATOR_ROOT'] +
|
||||
"/include/verilated.mk")
|
||||
VlTest._cached_cfg_with_ccache = bool(re.match(r'OBJCACHE \?= ccache', mkf))
|
||||
VlTest._cached_cfg_with_ccache = bool(re.search(r'OBJCACHE \?= ccache', mkf))
|
||||
return VlTest._cached_cfg_with_ccache
|
||||
|
||||
def glob_some(self, pattern: str) -> list:
|
||||
|
Loading…
Reference in New Issue
Block a user