From a7ae8e6a8e29ef46d79eb9178d8599d1faeea0e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Thu, 23 Jul 2020 02:00:01 +0000 Subject: [PATCH] gem5: how to disable HDF5 build --- README.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.adoc b/README.adoc index 4b49a84..8a26aa4 100644 --- a/README.adoc +++ b/README.adoc @@ -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 <>. 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