Skip to content

Speed up LLVM SDK builds, especially Windows#14

Merged
hughperkins merged 6 commits into
mainfrom
gopher/speed-up-windows-build
Mar 12, 2026
Merged

Speed up LLVM SDK builds, especially Windows#14
hughperkins merged 6 commits into
mainfrom
gopher/speed-up-windows-build

Conversation

@hughperkins
Copy link
Copy Markdown
Collaborator

@hughperkins hughperkins commented Mar 1, 2026

Windows:

  • Switch Windows from VS generator (MSBuild) to Ninja for ~30-50% faster builds
  • Drop lld from LLVM_ENABLE_PROJECTS (quadrants does not use it)
  • Disable tests, examples, benchmarks, docs builds
  • Disable clang static analyzer and ARCMT (quadrants only needs the compiler)
  • Limit parallel link jobs to 2 on Windows to prevent memory thrashing

Mac:

  • change to os x 11, so built sdk compatibel with os x 11

- Switch Windows from VS generator (MSBuild) to Ninja for ~30-50% faster builds
- Drop lld from LLVM_ENABLE_PROJECTS (quadrants does not use it)
- Disable tests, examples, benchmarks, docs builds
- Disable clang static analyzer and ARCMT (quadrants only needs the compiler)
- Limit parallel link jobs to 2 on Windows to prevent memory thrashing

Made-with: Cursor
@hughperkins hughperkins merged commit 88f6af7 into main Mar 12, 2026
5 checks passed
@hughperkins hughperkins deleted the gopher/speed-up-windows-build branch March 12, 2026 05:28
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.

3 participants