File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -141,8 +141,14 @@ code is in good shape.
141
141
142
142
### Building flang standalone
143
143
To do the standalone build, start by building flang in tree as described above.
144
- This build is base build for subsequent standalone builds. Start each
145
- standalone build the same way by cloning the source for llvm-project:
144
+ This build can be used as the base build for several subsequent standalone
145
+ builds. Set the environment variable **ROOT_DIR** to the directory that
146
+ contains the subdirectory `build` that was created previously, for example:
147
+ ```bash
148
+ export ROOTDIR=/home/user/root
149
+ ```
150
+ Start each standalone build the same way by cloning the source for
151
+ llvm-project:
146
152
```bash
147
153
mkdir standalone
148
154
cd standalone
@@ -175,7 +181,7 @@ cmake \
175
181
ninja
176
182
```
177
183
178
- To run the flang tests on this build, execute the command in the " flang/build"
184
+ To run the flang tests on this build, execute the command in the ` flang/build`
179
185
directory:
180
186
```bash
181
187
ninja check-flang
You can’t perform that action at this time.
0 commit comments