-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpixi.toml
More file actions
113 lines (96 loc) · 2.45 KB
/
pixi.toml
File metadata and controls
113 lines (96 loc) · 2.45 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[workspace]
name = "arrow-integer-unpacking"
version = "0.0.1"
channels = ["conda-forge"]
platforms = ["osx-arm64", "linux-64"]
[environments]
dev = { features = ["build", "dev", "lib"], solve-group = "default" }
lsp = { features = ["clang-tools", "lsp", "lib"], solve-group = "default" }
jupyter = { features = ["jupyter", "lib"] }
[feature.build.dependencies]
cxx-compiler = "*"
cmake = ">=3.16"
ninja = "*"
[feature.lib.dependencies]
xsimd = "14.*"
[feature.dev.dependencies]
sccache = "*"
gtest = "*"
benchmark = "*"
cmake-format = "*"
mambajs = "*"
ruff = "*"
[feature.dev.tasks.nb-lock]
cmd = "mambajs create-lock .nblink/environment.yml .nblink/nblink-lock.json"
[feature.dev.tasks.fmt-ruff]
cmd = "ruff format"
description = "Format Python files with ruff."
[feature.dev.tasks.configure]
cmd = """
cmake -B build/ -G Ninja \
-D CMAKE_COLOR_DIAGNOSTICS=ON \
-D CMAKE_C_COMPILER_LAUNCHER="sccache" \
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
-D CMAKE_EXPORT_COMPILE_COMMANDS=ON \
"""
inputs=["**/CMake*.*", "**/*.cmake", "**/*.cmake.in"]
outputs=["build/CMakeCache.txt"]
[feature.dev.tasks.compile-commands]
cmd = "ln -sf build/compile_commands.json"
depends-on=["configure"]
outputs=["compile_commands.json"]
[feature.dev.tasks.build]
cmd = "cmake --build build/ --parallel"
depends-on=["configure"]
[feature.dev.tasks.test]
cmd = "build/bpacking_test"
depends-on=["build"]
[feature.dev.tasks.bench]
cmd = """
build/bpacking_benchmark
--benchmark_min_time=0.5s
--benchmark_min_warmup_time=0.5
--benchmark_repetitions=3
--benchmark_time_unit=ns
--benchmark_out_format=csv
--benchmark_out=benchmark-{{ pixi.platform }}.csv
"""
depends-on=["build"]
[feature.clang-tools.dependencies]
clang = "19.*"
clangxx = "19.*"
clang-tools = "19.*"
lld = "*"
[feature.clang-tools.tasks.fmt-clang]
cmd = """
git ls-files | grep -E '\\.(cpp|h|c|cc|hpp)$' | xargs clang-format -i
"""
inputs=["**/*.*pp", "**/*.h", "**/*.cc"]
outputs=["**/*.*pp", "**/*.h", "**/*.cc"]
[feature.lsp.dependencies]
typos-lsp = "*"
neocmakelsp = "*"
[feature.jupyter.activation.env]
LD_LIBRARY_PATH="$CONDA_PREFIX/lib"
LIBRARY_PATH="$CONDA_PREFIX/lib"
[feature.jupyter.dependencies]
jupyterlab = ">=4.5"
specta = "*"
# Kernel
xeus-cpp = "0.9.*"
clang = "21.*"
clangxx = "*"
# LSP
jupyterlab-lsp = "*"
clang-tools = "*"
# Libs
xwidgets = "0.30.*"
jupyterlab_widgets = "*"
fmt = "*"
polars = "*"
seaborn = "*"
numpy = "*"
pyarrow = "*"
ipywidgets = "*"
[feature.jupyter.tasks]
jupyter = "jupyter"