-
Notifications
You must be signed in to change notification settings - Fork 185
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
tc_build/binutils: Dont install unwanted man pages and info files #286
Conversation
Could we use |
2f743b0
to
d18dce7
Compare
I've made the required changes as requested. Lemme just rebase and repush once again to resolve conflicts. |
d18dce7
to
e91eb93
Compare
Umm, this was unexpected. I think we could move the tempdir creation inside the the build function and move the configuration and make invocation inside a with statement. That should solve the linting issues. |
Signed-off-by: Dakkshesh <dakkshesh5@gmail.com>
To satisfy pylint. Fixes: tc_build/binutils.py:34:22: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) Signed-off-by: Dakkshesh <dakkshesh5@gmail.com>
d17d829
to
598c9fe
Compare
@nathanchance Sorry for excessive force pushes, overlooked some stupid mistakes. It's ready to be reviewed now👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me aside from one minor nit. Feel free to address it or not, I'll merge this tomorrow otherwise.
While on it make the list comprehension more concise by removing redundant characters. Signed-off-by: Dakkshesh <dakkshesh5@gmail.com>
Signed-off-by: Dakkshesh <dakkshesh5@gmail.com>
We disable installation of docs for LLVM already, similarly modify the Binutils build process to redirect the installation of doc files to a temporary directory (/tmp/tc-build/deleteme) and delete it after the build and installation process finishes.
Files that get redirected:
$ find /tmp/tc-build/deleteme/
Click to expand