Skip to content

Commit 0f1031a

Browse files
committed
pixi: Add pixi-build support
1 parent 64f46cf commit 0f1031a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

pixi.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ platforms = ["linux-64", "osx-64", "osx-arm64", "win-64"]
66
channels = ["conda-forge"]
77
license = "BSD-2-Clause"
88
license-file = "LICENSE"
9+
preview = ["pixi-build"]
910

1011
[dependencies]
1112
ccache = ">=4.9.1"
@@ -21,6 +22,34 @@ numpy = ">=1.22.0"
2122
python = ">=3.9.0"
2223
scipy = ">=1.10.0"
2324

25+
[package]
26+
name = { workspace = true }
27+
version = { workspace = true }
28+
29+
[package.build]
30+
backend = { name = "pixi-build-cmake", version = "0.3.*" }
31+
32+
[package.build.config]
33+
extra-args = [
34+
"-DGENERATE_PYTHON_STUBS=ON",
35+
"-DBUILD_TESTING=OFF",
36+
"-DBUILD_TESTING_SCIPY=OFF",
37+
]
38+
39+
[package.build-dependencies]
40+
pkg-config = ">=0.29.2"
41+
42+
[package.host-dependencies]
43+
libboost-devel = ">=1.80.0"
44+
libboost-python-devel = ">=1.80.0"
45+
eigen = ">=3.4.0"
46+
numpy = ">=1.22.0"
47+
scipy = ">=1.10.0"
48+
python = ">=3.9.0"
49+
50+
[package.run-dependencies]
51+
scipy = ">=1.10.0"
52+
2453
[target.unix.activation]
2554
scripts = ["development/scripts/pixi/activation.sh"]
2655

0 commit comments

Comments
 (0)