-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathpixi.toml
More file actions
60 lines (54 loc) · 2.11 KB
/
pixi.toml
File metadata and controls
60 lines (54 loc) · 2.11 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
# Pixi is a package management tool for developers.
# Before running a task, pixi ensures that all listed dependencies are installed first.
#
# Pixi is not required for VRS, but it is a convenient way to:
# - install the dependencies required for VRS
# - compile VRS and run its unit test
# in an isolated environment.
#
# https://pixi.sh/
#
# Use `pixi task list` to list the available tasks,
# and `pixi run build` to compile VRS.
[project]
name = "vrs"
channels = ["conda-forge"]
description = "VRS is a file format optimized to record & playback streams of sensor data, such as images, audio samples, and any other discrete sensors (IMU, temperature, etc), stored in per-device streams of timestamped records."
homepage = "https://github.com/facebookresearch/vrs"
license = "Apache-2.0"
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]
readme = "README.md"
repository = "https://github.com/facebookresearch/vrs"
version = "1.1.0"
[tasks]
# Note: extra CLI argument after `pixi run TASK` are passed to the task cmd.
clean = { cmd = "rm -rf build" }
print-env = { cmd = "echo $PATH" }
prepare = "cmake -G 'Ninja' -B build -S . -DBUILD_WITH_XPRS:BOOL=ON -DFFmpeg_ROOT=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release"
build = { cmd = "cmake --build build --config Release --target all", depends-on = ["prepare"] }
test = { cmd = "ctest -j --rerun-failed --output-on-failure ", cwd = "build", depends-on = ["build"]}
vrs = { cmd = "build/tools/vrs/vrs", depends-on = ["build"]}
[target.win-64.tasks] # Deal with windows specifics (prepare and build)
cmake-generator = "cmake --help"
prepare = "cmake -B build -S . -DCMAKE_BUILD_TYPE=Release"
build = { cmd = "cmake --build build --config Release -- /m", depends-on = [
"prepare",
] }
vrs = { cmd = "build/tools/vrs/Release/vrs", depends-on = ["build"]}
[build-dependencies]
cmake = "3.27.*"
cxx-compiler = "1.6.*"
ninja = "1.11.*"
[dependencies]
boost = "1.84.*"
fmt = "10.1.*"
gtest = "1.14.*"
libjpeg-turbo = "2.1.*"
libpng = "1.6.*"
lz4 = "4.3.*"
portaudio = "19.6.*"
xxhash = "0.8.*"
zlib = "1.2.*"
eigen = "3.4.*"
libopus = "1.4*" # optional dependency
ffmpeg = { version = "*", build = "*lgpl*" }