-
Notifications
You must be signed in to change notification settings - Fork 48
/
pixi.toml
163 lines (145 loc) · 3.74 KB
/
pixi.toml
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
[project]
name = "robotology-superbuild"
# As this version is currently ignored, we do not
# waste effort in mantain it in synch with the value
# specified in CMakeLists.txt
version = "0.0.0"
description = "CMake/YCM-based superbuild to simplify the build process of robotology projects."
authors = ["Silvio Traversaro <[email protected]>"]
channels = ["conda-forge", "robotology"]
platforms = ["linux-64", "linux-aarch64", "win-64", "osx-64", "osx-arm64"]
[system-requirements]
linux = "4.18"
[activation]
scripts = ["pixi_activation.sh", ".build/install/share/robotology-superbuild/setup.sh"]
[target.win-64.activation]
scripts = ["pixi_activation.bat", ".build/install/share/robotology-superbuild/setup.bat"]
[tasks]
configure = { cmd = [
"cmake",
"-DCMAKE_BUILD_TYPE=Release",
# Use the cross-platform Ninja generator
"-G",
"Ninja",
# The source is in the root directory
"-S",
".",
# We wanna build in the .build directory
"-B",
".build",
]}
configure-all = { cmd = [
"cmake",
"-DCMAKE_BUILD_TYPE=Release",
# Enable all options
"-DROBOTOLOGY_ENABLE_ROBOT_TESTING:BOOL=ON",
"-DROBOTOLOGY_ENABLE_DYNAMICS:BOOL=ON",
"-DROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS:BOOL=ON",
"-DROBOTOLOGY_ENABLE_TELEOPERATION:BOOL=ON",
"-DROBOTOLOGY_ENABLE_ICUB_HEAD:BOOL=ON",
"-DROBOTOLOGY_ENABLE_HUMAN_DYNAMICS:BOOL=ON",
"-DROBOTOLOGY_USES_PYTHON:BOOL=ON",
"-DROBOTOLOGY_USES_GAZEBO:BOOL=ON",
"-DROBOTOLOGY_USES_PCL_AND_VTK:BOOL=ON",
"-DROBOTOLOGY_USES_GZ:BOOL=ON",
"-DROBOTOLOGY_USES_ESDCAN:BOOL=$ROBOTOLOGY_USES_ESDCAN",
# Use the cross-platform Ninja generator
"-G",
"Ninja",
# The source is in the root directory
"-S",
".",
# We wanna build in the .build directory
"-B",
".build",
]}
# We limit the number of concurrent ninja builds to 1 as the superbuild will run one project at the time,
# and each project will run itself a number of compilation threads equal to ninja defaults,
# if we do not do this there is an high change that the system running out of memory
# if you want to run with a custom number of threads, run pixi run cmake --build .build --config Release --parallel N
build = { cmd = "cmake --build .build --config Release --parallel 1", depends_on = ["configure"] }
build-all = { cmd = "cmake --build .build --config Release --parallel 1", depends_on = ["configure-all"] }
[dependencies]
# C++ dev dependencies
compilers = "*"
ninja = "*"
cmake = "*"
make = "*"
pkg-config = "*"
# C++ libraries dependencies
ace = "*"
asio = "*"
assimp = "*"
boost = "*"
cli11 = "*"
eigen = "*"
freetype = "*"
glew = "*"
glfw = "*"
glm = "*"
graphviz = "*"
gsl = "*"
ipopt = ">=3.13.0"
irrlicht = "*"
libjpeg-turbo = "*"
libmatio = "*"
libode = "*"
libxml2 = "*"
nlohmann_json = "*"
qhull = "*"
pcl = ">=1.11.1"
libopencv = ">=4.10.0"
opencv = "*"
portaudio = "*"
qt-main = "*"
sdl = "*"
sdl2 = "*"
sqlite = "*"
tinyxml = "*"
tinyxml2 = "*"
spdlog = "*"
lua = "*"
soxr = "*"
tomlplusplus = "*"
libzlib = "*"
ffmpeg = "6.*"
onnxruntime-cpp = "*"
vtk = "*"
# ROBOTOLOGY_USES_GAZEBO
gazebo = "*"
# ROBOTOLOGY_USES_GZ
gz-sim8 = "*"
# ROBOTOLOGY_USES_PYTHON
python = "*"
pip = "*"
numpy = "*"
swig = "*"
pybind11 = "*"
pyqt = "*"
matplotlib = "*"
h5py = "*"
tornado = "*"
u-msgpack-python = "*"
pyzmq = "*"
ipython = "*"
gst-plugins-good = "*"
gst-plugins-bad = "*"
pyqtwebengine = "*"
qtpy = "*"
pyyaml = "*"
[target.win-64.dependencies]
freeglut = "*"
# ROBOTOLOGY_USES_ESDCAN
esdcan = { version = "*", channel = "robotology" }
[target.linux-64.dependencies]
bash-completion = "*"
freeglut = "*"
libdc1394 = "*"
libi2c = "*"
mesa-libgl-devel-cos7-x86_64 = "*"
[target.linux-aarch64.dependencies]
bash-completion = "*"
freeglut = "*"
libdc1394 = "*"
libi2c = "*"
mesa-libgl-cos7-aarch64 = "*"