Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ jobs:
cmake -S . -B build -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DKTIR_ENABLE_PYTHON_BINDINGS=ON \
-DMLIR_PYTHON_STUBGEN_ENABLED=ON \
-DPython3_EXECUTABLE=${{ env.PYTHON }} \
-DPython_EXECUTABLE=${{ env.PYTHON }} \
-DMLIR_DIR=${{ env.MLIR_DIR }} \
Expand Down
9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
[build-system]
requires = ["scikit-build-core", "nanobind>=2.12.0"]
# cmake>=4.0 is required: CMake 3.x writes the full target name into the
# file-API reply filename, and MLIR's mlir_generate_type_stubs() builds a
# 283-char target name by joining DEPENDS_TARGETS. That overflows NAME_MAX
# (255), so scikit-build-core fails with ENAMETOOLONG while reading the
# reply. CMake 4.0.0 truncates the name and relies on the trailing hash.
requires = ["scikit-build-core", "nanobind>=2.12.0", "cmake>=4.0", "ninja>=1.11"]
build-backend = "scikit_build_core.build"

[project]
Expand Down Expand Up @@ -31,7 +36,7 @@ MLIR_PYTHON_STUBGEN_ENABLED = "ON"

[dependency-groups]
# Base build tools for all LLVM builds (stable and nightly).
llvm-build = ["cmake", "ninja", "sccache"]
llvm-build = ["cmake>=4.0", "ninja>=1.11", "sccache>=0.8"]
# numpy<2 is additionally required by check-mlir's Python test suite (nightly only).
# numpy 2.x causes a dense-element ABI mismatch with MLIR at this LLVM version.
# Stable builds skip check-mlir, so they use llvm-build directly.
Expand Down
12 changes: 6 additions & 6 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading