3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-14 11:15:40 +00:00

Merge pull request #6024 from YosysHQ/nella/scl-build-date

Include build datetime in scl cache hash
This commit is contained in:
nella 2026-07-13 11:54:45 +00:00 committed by GitHub
commit dddf137888
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 0 deletions

View file

@ -1,4 +1,5 @@
namespace Yosys {
const char *yosys_version_str = "@YOSYS_BUILD_INFO@";
const char *yosys_git_hash_str = "@YOSYS_CHECKOUT_INFO@";
const char *yosys_build_datetime_str = __DATE__ " " __TIME__;
}

View file

@ -82,6 +82,7 @@ extern std::set<std::string> yosys_input_files, yosys_output_files;
// from kernel/version_*.o (cc source generated from Makefile)
extern const char *yosys_version_str;
extern const char *yosys_git_hash_str;
extern const char *yosys_build_datetime_str;
const char* yosys_maybe_version();
// from passes/cmds/design.cc