[flang-commits] [flang] Fix typos and formatting in GettingStarted.md (PR #68537)

Aiden Fox Ivey via flang-commits flang-commits at lists.llvm.org
Sun Oct 8 13:49:24 PDT 2023


https://github.com/aidenfoxivey created https://github.com/llvm/llvm-project/pull/68537

None

>From e124300e291a30e1ab4e53aaa666285bddeb77d1 Mon Sep 17 00:00:00 2001
From: Aiden Fox Ivey <aiden at fox-ivey.com>
Date: Sun, 8 Oct 2023 16:48:57 -0400
Subject: [PATCH] Fix typos and formatting in GettingStarted.md

---
 flang/docs/GettingStarted.md | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/flang/docs/GettingStarted.md b/flang/docs/GettingStarted.md
index 3b3f14d4fed1a8c..c6cd18db2e15d0a 100644
--- a/flang/docs/GettingStarted.md
+++ b/flang/docs/GettingStarted.md
@@ -53,6 +53,7 @@ First, create the root directory and `cd` into it.
 ```bash
 mkdir root
 cd root
+```
 
 Now clone the source:
 ```bash
@@ -233,6 +234,7 @@ cmake \
   -DCMAKE_CUDA_COMPILER=nvcc \
   -DCMAKE_CUDA_HOST_COMPILER=clang++ \
   ../runtime/
+
 make -j FortranRuntime
 ```
 
@@ -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
@@ -287,6 +289,7 @@ cmake \
   -DCMAKE_CXX_COMPILER=clang++ \
   -DFLANG_OMP_DEVICE_ARCHITECTURES="all" \
   ../runtime/
+
 make -j FortranRuntime
 ```
 
@@ -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++
 ```



More information about the flang-commits mailing list