gem5: how to disable HDF5 build

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-07-23 02:00:01 +00:00
parent cdf2875a61
commit a7ae8e6a8e

View File

@@ -12783,6 +12783,14 @@ and there yes, we see that the file size fell from 39MB on `stats.txt` to 3.2MB
We also note however that the stat dump made the such a simulation that just loops and dumps considerably slower, from 3s to 15s on <<p51>>. Fascinating, we are definitely not disk bound there.
We enable HDF5 on the build by default with `USE_HDF5=1`. To disable it, you can add `USE_HDF5=0` to the build as in:
....
./build-gem5 -- USE_HDF5=0
....
Library support is automatically detected, and only built if you have it installed. But there have been some compilation bugs with HDF5, which is why you might want to turn it off sometimes, e.g.: https://gem5.atlassian.net/browse/GEM5-365
===== gem5 only dump selected stats
TODO