-
Notifications
You must be signed in to change notification settings - Fork 329
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
Enable silent build rules by default #1021
Conversation
If configured with "--enable-silent-rules" (before this PR) I get the following output from a "clean"
Any idea how to get rid of the two blocks with the '+' lines? |
802546d
to
4aa7c8d
Compare
Yes, I have an idea. Should be about fixed. Always prints
now. |
526af75
to
569a7f4
Compare
Only prints the |
Doxygen is still the source of a huge number of warnings, even when run as |
e3abe5a
to
154bc3e
Compare
Prints I still want to add |
154bc3e
to
957eff3
Compare
This should be about done. Any more complaints/suggestions/questions? |
1229cee
to
34fa2e5
Compare
I see that the |
Enable silent build rules by default. You can still use verbose build rules by using any of the following methods: * run `configure` with the `--disable-silent-rules` argument * run `make` with the `V=1` argument This hides the compiler command line which makes debugging users' problems more difficult. To compensate for that, this prints the build flags separately, but a lot less frequently: For each part of the build (`libgphoto2_port.la`, iolibs, `libgphoto2.la`, camlibs), if something of that part has been rebuilt, prints the build flags (_CPPFLAGS, _CFLAGS, _LIBADD, _LDFLAGS) once. Always prints the environment variables CPPFLAGS CFLAGS LDADD LIBADD LDFLAGS once, whether they are the defaults the configure script sets or given on the `make` command line. Not all make recipes have been converted to be completely silent, but the majority (especially the Automake standard recipes) are now silent.
@axxel I cannot influence the output of |
34fa2e5
to
c9e2eb5
Compare
As far as I can tell, this shows everything from the build flags which I want to see, while still making the output much less verbose/confusing than all the compiler command lines would be. @msmeissn Are you OK with the reduced output? The build flags are not completely hidden. See the CI build output. Going forward, some more verbosity could be removed by switching to nonrecursive make on the Automake side, and adressing C compiler warnings on the C code side. The gtk-doc/doxygen situation and its output is a separate problem. |
for me it looks good. |
This is gphoto/libgphoto2#1021 for gphoto2. Enables silent build rules by default. You can still use verbose build rules by using any of the following methods: * run `configure` with the `--disable-silent-rules` argument * run `make` with the `V=1` argument This hides the compiler command line which makes debugging users' problems more difficult. To compensate for that, this prints the build flags separately, but a lot less frequently: If gphoto2 has been rebuilt, prints the build flags (gphoto2_CPPFLAGS, _CFLAGS, _LDADD, _LDFLAGS) once. Always prints the environment variables CPPFLAGS CFLAGS LDADD LDFLAGS once, whether they are the defaults the configure script sets or given on the `make` command line. Not all make recipes have been converted to be completely silent, but the majority (especially the Automake standard recipes) are now silent.
Enable silent build rules by default.
You can still use verbose build rules by using any of the following
methods:
configure
with the--disable-silent-rules
argumentmake
with theV=1
argumentThis hides the compiler command line which makes debugging users'
problems more difficult. To compensate for that, this prints the
build flags separately, but a lot less frequently:
For each part of the build (
libgphoto2_port.la
, iolibs,libgphoto2.la
, camlibs), if something of that part has beenrebuilt, prints the build flags (_CPPFLAGS, _CFLAGS, _LIBADD,
_LDFLAGS) once.
Always prints the environment variables CPPFLAGS CFLAGS LDADD
LIBADD LDFLAGS once, whether they are the defaults the configure
script sets or given on the
make
command line.Not all make recipes have been converted to be completely silent,
but the majority (especially the Automake standard recipes) are
now silent.