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

Include build datetime in scl cache hash.

This commit is contained in:
nella 2026-07-10 12:44:34 +02:00
parent b88b73a99a
commit b678c238e4
3 changed files with 5 additions and 0 deletions

View file

@ -49,6 +49,9 @@ inline std::string convert_liberty_files_to_merged_scl(const std::vector<std::st
}
hash_input += dont_use_args;
// Include build datetime so caches from other builds are not reused
hash_input += "|";
hash_input += yosys_build_datetime_str;
unsigned int hash = 0;
for (char c : hash_input)