[OpenMP][Docs] Fixed a typo in the doc that can mislead users to a CMake error
authorShilei Tian <tianshilei1992@gmail.com>
Tue, 22 Dec 2020 19:05:46 +0000 (14:05 -0500)
committerShilei Tian <tianshilei1992@gmail.com>
Tue, 22 Dec 2020 19:05:58 +0000 (14:05 -0500)
When setting `LLVM_ENABLE_RUNTIMES`, lower case word should be used;
otherwise, it can cause a CMake error that specific path is not found.

Reviewed By: ye-luo

Differential Revision: https://reviews.llvm.org/D93719

openmp/docs/SupportAndFAQ.rst

index 489b66d..647fa57 100644 (file)
@@ -53,7 +53,7 @@ Q: How to build an OpenMP offload capable compiler?
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 To build an *effective* OpenMP offload capable compiler, only one extra CMake
-option, `LLVM_ENABLE_RUNTIMES="OPENMP"`, is needed when building LLVM (Generic
+option, `LLVM_ENABLE_RUNTIMES="openmp"`, is needed when building LLVM (Generic
 information about building LLVM is available `here <https://llvm.org/docs/GettingStarted.html>`__.).
 Make sure all backends that are targeted by OpenMP to be enabled. By default,
 Clang will be build with all backends enabled.