[Openmp-commits] [PATCH] D93719: [OpenMP][Docs] Fixed a typo in the doc that can mislead users to a CMake error

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 22 10:57:29 PST 2020


tianshilei1992 created this revision.
tianshilei1992 added a reviewer: ye-luo.
Herald added subscribers: guansong, yaxunl.
tianshilei1992 requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

When setting `LLVM_ENABLE_RUNTIMES`, lower case word should be used;
otherwise, it can cause a CMake error that specific path is not found.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93719

Files:
  openmp/docs/SupportAndFAQ.rst


Index: openmp/docs/SupportAndFAQ.rst
===================================================================
--- openmp/docs/SupportAndFAQ.rst
+++ openmp/docs/SupportAndFAQ.rst
@@ -53,7 +53,7 @@
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93719.313394.patch
Type: text/x-patch
Size: 714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201222/37dd1d1c/attachment.bin>


More information about the Openmp-commits mailing list