-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (29 loc) · 784 Bytes
/
pyproject.toml
File metadata and controls
37 lines (29 loc) · 784 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
30
31
32
33
34
[build-system]
requires = [
"scikit-build-core",
"wheel",
"pybind11",
"nanobind==2.4.0"
]
build-backend = "scikit_build_core.build"
[project]
name = "flagtree_mlir"
version = "0.1.0"
description = "LLVM / MLIR runtime packaged as a Python wheel"
requires-python = ">=3.8"
[tool.scikit-build]
wheel.install-dir = "flagtree_mlir"
cmake.source-dir = "."
build-dir = "build/cm_build_scikit"
build.verbose = true
cmake.args = [
"-DLLVM_ENABLE_PROJECTS=mlir;llvm;lld",
"-DLLVM_TARGETS_TO_BUILD=host;NVPTX;AMDGPU",
"-DCMAKE_BUILD_TYPE=Release",
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON",
"-DCMAKE_C_COMPILER=clang",
"-DCMAKE_CXX_COMPILER=clang++",
"-DLLVM_ENABLE_LLD=ON",
"-DLLVM_BUILD_UTILS=ON",
"-DLLVM_INSTALL_UTILS=ON",
"-DMLIR_ENABLE_BINDINGS_PYTHON=ON"]