-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (29 loc) · 1.1 KB
/
pyproject.toml
File metadata and controls
37 lines (29 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[build-system]
requires = ["scikit-build-core>=0.10"]
build-backend = "scikit_build_core.build"
[project]
name = "halide-llvm"
dynamic = ["version"]
description = "LLVM distribution for Halide"
license = "Apache-2.0"
requires-python = ">=3.10"
[project.scripts]
halide-llvm = "halide_llvm:main"
[tool.scikit-build]
minimum-version = "build-system.requires"
experimental = true # Required for in-tree metadata plugins
# Persistent build directory for incremental rebuilds.
# IMPORTANT: LLVM caches the Python interpreter path. If using build isolation,
# the ephemeral venv path changes between runs, breaking the cache. Use
# --no-build-isolation (pip) or UV_NO_BUILD_ISOLATION=1 (uv) for local dev.
build-dir = "build/{wheel_tag}"
cmake.build-type = "Release"
# Include the Python helper module
wheel.packages = ["src/halide_llvm"]
# Install LLVM into halide_llvm/data/ so the Python module can find it
wheel.install-dir = "halide_llvm/data"
# No Python extension modules, so use py3-none tag instead of cpXYZ
wheel.py-api = "py3"
[tool.scikit-build.metadata.version]
provider = "_version_provider"
provider-path = "."