Skip to content

Commit 7df9b0c

Browse files
author
Aiden Fox Ivey
authored
Fix typos and formatting in GettingStarted.md (#68537)
Not too much to change here. Just found some issues with the flang GettingStarted.md file and wanted to sort it out.
1 parent 826c93f commit 7df9b0c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

flang/docs/GettingStarted.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ First, create the root directory and `cd` into it.
5353
```bash
5454
mkdir root
5555
cd root
56+
```
5657

5758
Now clone the source:
5859
```bash
@@ -233,6 +234,7 @@ cmake \
233234
-DCMAKE_CUDA_COMPILER=nvcc \
234235
-DCMAKE_CUDA_HOST_COMPILER=clang++ \
235236
../runtime/
237+
236238
make -j FortranRuntime
237239
```
238240

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

278-
```
280+
```bash
279281
cd llvm-project/flang
280282
rm -rf build_flang_runtime
281283
mkdir build_flang_runtime
@@ -287,6 +289,7 @@ cmake \
287289
-DCMAKE_CXX_COMPILER=clang++ \
288290
-DFLANG_OMP_DEVICE_ARCHITECTURES="all" \
289291
../runtime/
292+
290293
make -j FortranRuntime
291294
```
292295

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

339342
CXX should include the full path to clang++
340343
or clang++ should be found on your PATH.
344+
341345
```bash
342346
export CXX=clang++
343347
```

0 commit comments

Comments
 (0)