-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
29 lines (23 loc) · 834 Bytes
/
Copy pathpyproject.toml
File metadata and controls
29 lines (23 loc) · 834 Bytes
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
[build-system]
requires = ["scikit-build-core", "pybind11", "libclang", "packaging", "pyyaml"]
build-backend = "scikit_build_core.build"
[project]
name = "InfiniOps"
version = "0.1.0"
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "pytest-xdist", "ruff==0.15.22", "torch", "pyyaml"]
[tool.scikit-build.wheel]
install-dir = "infini"
[tool.scikit-build.cmake.define]
AUTO_DETECT_DEVICES = "ON"
AUTO_DETECT_BACKENDS = "ON"
GENERATE_PYTHON_BINDINGS = "ON"
# Enables `compile_commands.json` under `SKBUILD_BUILD_DIR` (or the default
# `scikit-build` build dir) for `clang-tidy -p <build-dir> <file>` used by
# the `code-lint` skill.
CMAKE_EXPORT_COMPILE_COMMANDS = "ON"
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"smoke: minimal representative tests for routine development and PR validation",
]