Author: Shilei Tian Date: 2020-12-22T14:05:58-05:00 New Revision: 1eb082c2ea426f1dab4d1b3541b37c883b3a6b4f
URL: https://github.com/llvm/llvm-project/commit/1eb082c2ea426f1dab4d1b3541b37c883b3a6b4f DIFF: https://github.com/llvm/llvm-project/commit/1eb082c2ea426f1dab4d1b3541b37c883b3a6b4f.diff LOG: [OpenMP][Docs] Fixed a typo in the doc that can mislead users to a CMake error 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 Added: Modified: openmp/docs/SupportAndFAQ.rst Removed: ################################################################################ diff --git a/openmp/docs/SupportAndFAQ.rst b/openmp/docs/SupportAndFAQ.rst index 489b66d5b4a6..647fa57a9e76 100644 --- a/openmp/docs/SupportAndFAQ.rst +++ b/openmp/docs/SupportAndFAQ.rst @@ -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. _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits