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

Three miscellaneous improvements #29

Merged
merged 3 commits into from
Jul 30, 2019

Conversation

nathanchance
Copy link
Member

@nathanchance nathanchance commented Jul 13, 2019

The first patch fixes a couple of shellcheck warnings.

The second patch allows the kernel build script to do allyesconfig builds, which can be helpful for benchmarking changes like PGO and adding assertions. The commit message explains more.

The third patch just formats utils.py with YAPF.

Let me know if there are any concerns.

@nickdesaulniers
Copy link
Member

what are all the patch files for?

@nathanchance
Copy link
Member Author

We need them to build arm/arm64 allyesconfig succesfully, due to:

and the two sounds commits fix https://git.kernel.org/linus/164a263bf8d003e4cbb197d52b74d26df72604d7, which causes errors on arm64 allyesconfig because of x86 specific header files.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
This script is a handy benchmarking tool for testing the time
differences in various clang configurations. I've already used
it to see how much speedup we get with PGO and how much slow
down to expect with assertions enabled.

On Linux 5.2, we need just four patches to make everything build
properly (and two of them are upstream for 5.3), see the patch file
for any issues.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
@nathanchance nathanchance changed the title Two miscellaneous improvements Three miscellaneous improvements Jul 16, 2019
@nathanchance
Copy link
Member Author

Gentle ping for review :)

Copy link
Member

@msfjarvis msfjarvis left a comment

Choose a reason for hiding this comment

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

arm + arm64 + PGO + allyesconfig builds fine here.

@msfjarvis
Copy link
Member

Can we start getting some of these merged?

@nathanchance
Copy link
Member Author

I think we should merge these Monday afternoon (will give a bit of last minute review/testing).

@nathanchance nathanchance merged commit 5547f46 into ClangBuiltLinux:master Jul 30, 2019
@nathanchance nathanchance deleted the misc-improvements branch July 30, 2019 02:16
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

3 participants