Skip to content

Fix typos and formatting in GettingStarted.md #68537

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

Merged
merged 1 commit into from
Oct 21, 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
6 changes: 5 additions & 1 deletion flang/docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ First, create the root directory and `cd` into it.
```bash
mkdir root
cd root
```

Now clone the source:
```bash
Expand Down Expand Up @@ -233,6 +234,7 @@ cmake \
-DCMAKE_CUDA_COMPILER=nvcc \
-DCMAKE_CUDA_HOST_COMPILER=clang++ \
../runtime/

make -j FortranRuntime
```

Expand Down Expand Up @@ -275,7 +277,7 @@ Normal `make -j check-flang` will work with such CMake configuration.
##### OpenMP target offload build
Only Clang compiler is currently supported.

```
```bash
cd llvm-project/flang
rm -rf build_flang_runtime
mkdir build_flang_runtime
Expand All @@ -287,6 +289,7 @@ cmake \
-DCMAKE_CXX_COMPILER=clang++ \
-DFLANG_OMP_DEVICE_ARCHITECTURES="all" \
../runtime/

make -j FortranRuntime
```

Expand Down Expand Up @@ -338,6 +341,7 @@ and the GCC library and tools that were used to build clang++.

CXX should include the full path to clang++
or clang++ should be found on your PATH.

```bash
export CXX=clang++
```
Expand Down