Repository navigation
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
The LLVM/MLIR/LLD export and static-linkage changes need end-to-end native build/install and wheel-import results on regular and free-threaded Python, since the added regression test covers configuration only.
No open issues 🎉
What changed in this PR
Separates the CPU backend’s Python-independent native SDK from wheel builds, allowing CI to reuse LLVM and TileIRToMLIR across the expanded Python matrix.
Changes:
- Adds native SDK build, installation, and consumption paths.
- Caches the SDK and builds/tests wheels for Python 3.11–3.15, including free-threaded 3.14 and 3.15.
- Updates the TileIRToMLIR revision and adds a configuration test without Python or CUDA discovery.
| File | Description |
|---|---|
CMakeLists.txt |
Adds a native-SDK-only build option. |
backends/test/test_compiler_build.py |
Tests SDK configuration without Python or CUDA discovery. |
backends/cpu/compiler.cmake |
Uses installed LLD headers when consuming the SDK. |
backends/compiler.cmake |
Adapts compiler includes, definitions, output, and installation for SDK builds. |
backends/CMakeLists.txt |
Supports building or consuming the native SDK and installing licenses. |
backends/cmake/TileIRToMLIR.cmake |
Configures Python-independent SDK distribution builds. |
backends/cmake/FetchTileIRToMLIR.cmake |
Updates the pinned TileIRToMLIR revision and checksum. |
.github/workflows/ci-cpu.yml |
Adds SDK caching and expands wheel builds and tests across Python versions. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build LLVM and tileir-to-mlir separately and re-use through cache.
Build and test the full python matrix.