Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue276 silent color makefiles #282

Merged
merged 6 commits into from
Jul 12, 2019
Merged

Conversation

mikebentley15
Copy link
Collaborator

Fixes #276

Description:
The Makefile output from both autogenerated Makefiles and the FLiT Makefile are a bit too verbose in my opinion. So, I created brief colored output by default. The full command can still be printed with make VERBOSE=1 ....

Documentation:
Updated various locations in the documentation to specify the VERBOSE=1 flag if details are desired.

Tests:
I did not add any new tests. Instead, I changed existing tests to function with this new functionality. For many of the tests, this meant adding VERBOSE=1 to the test (as well as emptying out MAKEFLAGS since the tests are called from a silent invocation of make).

This can be reversed by using any value inside of VERBOSE
(e.g., make[1]: Entering directory '/home/bentley/git/FLiT/tests/flit_cli'
make[2]: Entering directory '/home/bentley/git/FLiT/tests/flit_cli/flit_import'
make[2]: Nothing to be done for 'build'.
make[2]: Leaving directory '/home/bentley/git/FLiT/tests/flit_cli/flit_import'
make[2]: Entering directory '/home/bentley/git/FLiT/tests/flit_cli/flit_version'
make[2]: Nothing to be done for 'build'.
make[2]: Leaving directory '/home/bentley/git/FLiT/tests/flit_cli/flit_version'
make[2]: Entering directory '/home/bentley/git/FLiT/tests/flit_cli/flit_update'
make[2]: Nothing to be done for 'build'.
make[2]: Leaving directory '/home/bentley/git/FLiT/tests/flit_cli/flit_update'
make[2]: Entering directory '/home/bentley/git/FLiT/tests/flit_cli/flit_bisect'
make[2]: Nothing to be done for 'build'.
make[2]: Leaving directory '/home/bentley/git/FLiT/tests/flit_cli/flit_bisect'
make[1]: Leaving directory '/home/bentley/git/FLiT/tests/flit_cli'
make[1]: Entering directory '/home/bentley/git/FLiT/tests/flit_makefile'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/home/bentley/git/FLiT/tests/flit_makefile'
make[1]: Entering directory '/home/bentley/git/FLiT/tests/flit_mpi'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/home/bentley/git/FLiT/tests/flit_mpi'
make[1]: Entering directory '/home/bentley/git/FLiT/tests/harness'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/home/bentley/git/FLiT/tests/harness'
make[1]: Entering directory '/home/bentley/git/FLiT/tests/flit_src'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/home/bentley/git/FLiT/tests/flit_src'
make[1]: Entering directory '/home/bentley/git/FLiT/tests/flit_install'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/home/bentley/git/FLiT/tests/flit_install').  Done using the .SILENT special
target.
@mikebentley15 mikebentley15 added enhancement make Involves touching GNU Makefiles documentation Involves touching documentation tests Involves touching tests labels Jul 11, 2019
@mikebentley15 mikebentley15 requested a review from IanBriggs July 11, 2019 17:26
@mikebentley15 mikebentley15 merged commit 5dc7558 into devel Jul 12, 2019
@mikebentley15 mikebentley15 deleted the issue276-silent-color-makefiles branch July 12, 2019 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Involves touching documentation enhancement make Involves touching GNU Makefiles tests Involves touching tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Makefile output potentially too verbose
2 participants