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

via flang-commits flang-commits at lists.llvm.org
Fri Oct 20 22:18:38 PDT 2023


Author: Aiden Fox Ivey
Date: 2023-10-21T10:48:33+05:30
New Revision: 7df9b0c5b33e6e775d47d847f426f2577635e970

URL: https://github.com/llvm/llvm-project/commit/7df9b0c5b33e6e775d47d847f426f2577635e970
DIFF: https://github.com/llvm/llvm-project/commit/7df9b0c5b33e6e775d47d847f426f2577635e970.diff

LOG: 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.

Added: 
    

Modified: 
    flang/docs/GettingStarted.md

Removed: 
    


################################################################################
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