Skip to content

Conversation

@steven-johnson
Copy link
Contributor

Disable lots of tools and features that we don't need for Halide buildbots. On my Mac, this drops the install dir from ~6GB to ~2GB, and the compressed size from ~1.5GB to ~0.5GB.

Disable lots of tools and features that we don't need for Halide buildbots. On my Mac, this drops the install dir from ~6GB to ~2GB, and the compressed size from ~1.5GB to ~0.5GB.
Copy link
Member

@alexreinking alexreinking left a comment

Choose a reason for hiding this comment

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

I love how each and every one of these options is documented by the LLVM team.

@steven-johnson steven-johnson merged commit 585c617 into master Jan 25, 2024
@steven-johnson steven-johnson deleted the srj/llvm-slim branch January 25, 2024 23:09


# options in LLVM that we always want OFF because they aren't needed
# for Halide buildbot usage.
Copy link
Member

Choose a reason for hiding this comment

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

This comment is wrong and misleading. This doesn't just affect the LLVM used on the buildbots. This is also the LLVM that gets bundled into our libHalide binary releases. Not building the tools has no effect on that, but these decisions are decisions we're making for downstream users of libHalide, not just on our buildbots.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm going to fix it in #276

"CLANG_TOOL_SCAN_VIEW_BUILD"
"CLANG_TOOLS_EXTRA_INCLUDE_DOCS"
"LLVM_BUILD_UTILS"
"LLVM_ENABLE_BINDINGS"
Copy link
Member

Choose a reason for hiding this comment

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

This looks like the same set of features of libLLVM that were disabled before the PR, so my beef is strictly with the comment.

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.

4 participants