-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (52 loc) · 1.92 KB
/
pyproject.toml
File metadata and controls
60 lines (52 loc) · 1.92 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[build-system]
requires = ["scikit-build-core>=0.10", "nanobind>=2.4"]
build-backend = "scikit_build_core.build"
[project]
name = "forway"
version = "0.1.0"
description = "High-Performance Numerical Computing Engine — AVX-512/NEON SIMD + OpenMP, powered by Google Highway"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
authors = [
]
dependencies = ["numpy>=1.24"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: C++",
"Programming Language :: Fortran",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
]
[project.urls]
Homepage = "https://github.com/magi8101/ForWay"
[tool.scikit-build]
cmake.build-type = "Release"
wheel.packages = ["."]
wheel.install-dir = "forway"
build-dir = "build/{wheel_tag}"
[tool.scikit-build.cmake.define]
HWY_ENABLE_TESTS = "OFF"
HWY_ENABLE_EXAMPLES = "OFF"
HWY_ENABLE_CONTRIB = "ON"
[tool.cibuildwheel]
build = "cp39-* cp310-* cp311-* cp312-* cp313-*"
skip = "*-musllinux_* *-win32 *_i686"
test-requires = "numpy"
test-command = "python -c \"import forway; print('ForWay wheel OK')\""
[tool.cibuildwheel.linux]
before-build = "yum install -y gcc-gfortran || apt-get install -y gfortran"
archs = ["x86_64", "aarch64"]
environment = { CMAKE_ARGS="-DCMAKE_CXX_FLAGS='-O3 -ffast-math' -DCMAKE_Fortran_FLAGS='-O3 -ffast-math -ffree-form -fno-underscoring'" }
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]
environment = { CMAKE_ARGS="-DCMAKE_CXX_FLAGS='-O3 -ffast-math' -DCMAKE_Fortran_FLAGS='-O3 -ffast-math -ffree-form -fno-underscoring'", MACOSX_DEPLOYMENT_TARGET="11.0" }
before-build = "brew install gcc"
[tool.cibuildwheel.windows]
archs = ["AMD64"]