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

Info how beneficial is dwz compression. #535

Merged

Conversation

marxin
Copy link
Contributor

@marxin marxin commented Aug 28, 2018

Example output:
...
original debug info size: 120600, size after compression: 77604
...

@@ -489,6 +489,7 @@ if $run_dwz \
&& [ -d "${RPM_BUILD_ROOT}/usr/lib/debug" ]; then
readarray dwz_files < <(cd "${RPM_BUILD_ROOT}/usr/lib/debug"; find -type f -name \*.debug | LC_ALL=C sort)
if [ ${#dwz_files[@]} -gt 0 ]; then
size_before="`du -s ${RPM_BUILD_ROOT}/usr/lib/debug | cut -f1`"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use some different style of code here: size_before=$(du -s … | cut -f1)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Example output:
...
original debug info size: 120600, size after compression: 77604
...
@pmatilai pmatilai merged commit 6169f43 into rpm-software-management:master Sep 17, 2018
@pmatilai
Copy link
Member

Merged, thanks for the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants