Skip to content

Commit 9ebc300

Browse files
committed
Add instructions for component-based build.
1 parent 82e07cb commit 9ebc300

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/gettingstarted/installing.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,20 @@ aliDoctor will warn you if some packages have to be built as they could not be f
241241
aliBuild build O2Physics
242242
```
243243

244+
To set the maximum number of parallel jobs `N`, provide the `-j N` option.
245+
246+
### Component-based build
247+
248+
To build only parts of O2Physics, provide a space-separated list of requested directories (followed by `/install`) using the `O2PHYSICS_COMPONENTS` variable, e.g.:
249+
250+
```bash
251+
O2PHYSICS_COMPONENTS="Common/install Tools/install Tutorials/install" aliBuild build O2Physics
252+
```
253+
254+
```warning
255+
On Linux, the components providing the required linked shared libraries also need to be included (e.g. `Tools/ML` for `O2Physics::MLCore`).
256+
```
257+
244258
See the [Troubleshooting](../troubleshooting/README.md) section for debugging tips if the build fails.
245259

246260
## Delete obsolete builds

0 commit comments

Comments
 (0)