python: Add a warning if pydot is not available.
authorYu-hsin Wang <yuhsingw@google.com>
Mon, 2 Mar 2020 03:11:10 +0000 (11:11 +0800)
committerYu-hsin Wang <yuhsingw@google.com>
Tue, 3 Mar 2020 04:57:53 +0000 (04:57 +0000)
commite29d768226e0f2ad3c996d1e0a7f332111da375d
tree5e6da7d82a7807a53767943acfa433d90e5a4ab4
parentd71076d41ceacdc349874cc3a12573d3a66830bd
python: Add a warning if pydot is not available.

Silently failing makes it hard to debug what happened. Add a warning.

Change-Id: Ia61b8de937bb254898726ad551fb5c894104d771
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26045
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/python/m5/util/dot_writer.py