From eab9f4d6846eefb0bf791162705c7a559793da1c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 3 Oct 2021 10:05:22 +0200 Subject: ghdl.cc: display compile date and git hash --- src/ghdl.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/ghdl.cc b/src/ghdl.cc index 7b36042..3d5bfc4 100644 --- a/src/ghdl.cc +++ b/src/ghdl.cc @@ -1272,6 +1272,11 @@ struct GhdlPass : public Pass { if (args.size() == 2 && args[1] == "--disp-config") { ghdlcomp__disp_config(); + log("yosys plugin compiled on " __DATE__ " " __TIME__ +#ifdef GHDL_VER_HASH + ", git hash:" GHDL_VER_HASH +#endif + "\n"); } else { int cmd_argc = args.size() - 1; -- cgit v1.2.3