rdaly525 / coreir

BSD 3-Clause "New" or "Revised" License
101 stars 24 forks source link

[feature request] coreir quiet flag (or verbose flag) #644

Open leonardt opened 5 years ago

leonardt commented 5 years ago

Right now running m.compile in magma produces output to stdout such as

Numargs=1
Running Runningvpasses
Numargs=1
In Run Generators
Done running generators
Numargs=1
Numargs=1
Numargs=1
Numargs=1
Numargs=2
Numargs=1
Numargs=1
Running vpasses

Modified?: No

It would be nice if we could silence this using -q or if it was quiet by default and shown during -v or some other debug flag.

leonardt commented 5 years ago

Related to https://github.com/rdaly525/coreir/issues/634

rdaly525 commented 5 years ago

Sorry, this is spam in stdout that should be removed. Separately, I agree we should have a verbose flag, and all stdout should really go to stderr.