Skip to content
New issue

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

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

Already on GitHub? # to your account

Drastically reduce Windows build log size #703

Merged
merged 1 commit into from
May 26, 2023
Merged

Conversation

fhanau
Copy link
Collaborator

@fhanau fhanau commented May 24, 2023

The Windows build log on CI is currently very large, ~12MB on a recent run with few changes compared to 400kb on Mac and Linux, which makes it more difficult to look at the build logs when tracking down Windows build failures on CI and is bad for the Windows DX.
This is caused largely by V8 needing the -Wno-invalid-offsetof flag to not throw a ton of warnings. V8's bazel enables the flag when using a clang-based compiler, but it doesn't realize that the Windows build uses clang.
Adding the warning reduces the build log to 1.1MB, likely even more on a regular build where the build settings don't change.
I'm not sure if this is the right place for the flag though – it might make more sense to integrate it into V8's build system through a patch.

@fhanau fhanau changed the title [WIP] Drastically reduce Windows build log size [nfc] [WIP] Drastically reduce Windows build log size May 24, 2023
@fhanau fhanau force-pushed the felix/windows-debloat branch from bdb8dca to 715e9e6 Compare May 25, 2023 22:16
@fhanau fhanau marked this pull request as ready for review May 26, 2023 00:57
@fhanau fhanau changed the title [nfc] [WIP] Drastically reduce Windows build log size Drastically reduce Windows build log size May 26, 2023
@fhanau fhanau merged commit 9c9f332 into main May 26, 2023
@kentonv kentonv deleted the felix/windows-debloat branch May 26, 2023 02:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants