mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 03:10:26 +00:00
Improve logging use of experimental features
Signed-off-by: Claire Wolf <clifford@clifford.at>
This commit is contained in:
parent
cef607c8b7
commit
5c2508cef8
3 changed files with 8 additions and 4 deletions
|
@ -459,7 +459,7 @@ int main(int argc, char **argv)
|
|||
depsfile = optarg;
|
||||
break;
|
||||
case 'x':
|
||||
log_experimentals.insert(optarg);
|
||||
log_experimentals_ignored.insert(optarg);
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "Run '%s -h' for help.\n", argv[0]);
|
||||
|
@ -573,6 +573,10 @@ int main(int argc, char **argv)
|
|||
|
||||
if (log_warnings_count)
|
||||
log("Warnings: %d unique messages, %d total\n", GetSize(log_warnings), log_warnings_count);
|
||||
|
||||
if (!log_experimentals.empty())
|
||||
log("Warnings: %d experimental features used (not excluded with -x).\n", GetSize(log_experimentals));
|
||||
|
||||
#ifdef _WIN32
|
||||
log("End of script. Logfile hash: %s\n", hash.c_str());
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue