Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flang] Update instructions for a standalone flang build #68361

Merged
merged 1 commit into from
Oct 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions flang/docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,14 @@ code is in good shape.

### Building flang standalone
To do the standalone build, start by building flang in tree as described above.
This build is base build for subsequent standalone builds. Start each
standalone build the same way by cloning the source for llvm-project:
This build can be used as the base build for several subsequent standalone
builds. Set the environment variable **ROOT_DIR** to the directory that
contains the subdirectory `build` that was created previously, for example:
```bash
export ROOTDIR=/home/user/root
```
Start each standalone build the same way by cloning the source for
llvm-project:
```bash
mkdir standalone
cd standalone
Expand Down Expand Up @@ -175,7 +181,7 @@ cmake \
ninja
```

To run the flang tests on this build, execute the command in the "flang/build"
To run the flang tests on this build, execute the command in the `flang/build`
directory:
```bash
ninja check-flang
Expand Down