@@ -23,11 +23,11 @@ mkdir -p ~/alice
2323cd ~ /alice
2424```
2525
26- Download O2 and O2Physics (note the ` --defaults o2 ` ) :
26+ Download O2 and O2Physics:
2727
2828``` bash
29- aliBuild init O2@dev --defaults o2
30- aliBuild init O2Physics@master --defaults o2
29+ aliBuild init O2@dev
30+ aliBuild init O2Physics@master
3131```
3232
3333If you perform ` ls ` under your work directory, you will see the packages you have downloaded via
@@ -40,7 +40,7 @@ to keep them up-to-date manually.
4040## Check your prerequisites
4141
4242``` bash
43- aliDoctor O2Physics --defaults o2
43+ aliDoctor O2Physics
4444```
4545
4646aliDoctor will warn you that some packages have to be built as they could not be found from the
@@ -49,9 +49,11 @@ system.
4949## Build and rebuild
5050
5151``` bash
52- aliBuild build O2Physics --defaults o2
52+ aliBuild build O2Physics
5353```
5454
55+ See the [ Troubleshooting] ( ../troubleshooting/README.md ) section for debugging tips if the build fails.
56+
5557## Use your local software installations
5658
5759You will not find the packages you have built immediately available on your shell: we provide a tool
@@ -91,7 +93,13 @@ Go to the build directory
9193cd ~ /alice/sw/BUILD/O2Physics-latest/O2Physics
9294```
9395
94- You can now rebuild and install a specific directory with
96+ You can now rebuild and install entire O2Physics with
97+
98+ ``` bash
99+ ninja install
100+ ```
101+
102+ or just a specific directory with
95103
96104``` bash
97105ninja < directory> /install
@@ -103,6 +111,12 @@ For example:
103111ninja PWGCF/Tasks/install
104112```
105113
114+ You can redirect the terminal output to the standard aliBuild log file and see whether the build succeeded:
115+
116+ ``` bash
117+ ninja install > ../log 2>&1 && echo " Good" || echo " Bad"
118+ ```
119+
106120A specific executable can be built in the staging directory ` stage/bin ` with
107121
108122``` bash
0 commit comments