-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
31 lines (24 loc) · 998 Bytes
/
pyproject.toml
File metadata and controls
31 lines (24 loc) · 998 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
[build-system]
requires = [
"scikit-build-core",
"cmake>=3.18",
"ninja",
"pybind11",
"ug4py-base>=0.1.5"
]
build-backend = "scikit_build_core.build"
[project]
name = "ug4py-plugins-superlu"
version = "0.0.1"
description = "This is UG4-plugin for ijkdata."
readme = {file = "README.md", content-type = "text/markdown"}
[tool.scikit-build]
# cf. https://github.com/scikit-build/scikit-build-core
# The versions of CMake to allow. If CMake is not present on the system or does
# not pass this specifier, it will be downloaded via PyPI if possible. An empty
# string will disable this check.
cmake.version = ">=3.15"
cmake.source-dir = "ug4-git/plugins/SuperLU6" # ← final CMakeLists.txt will be in this subdir!
# Setting DUG_ROOT_CMAKE_PATH is important!
cmake.args=['-DBUILD_WITH_PIP=ON', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', '-DTARGET=libug4','-DPARALLEL:BOOL=OFF','-DUSE_PYBIND11:BOOL=ON', '-DSTATIC_BUILD:BOOL=ON','-DCPU=ALL', '-DCPU=1']
logging.level = "DEBUG"