[llvm] 894d2db - [LLVM] Added OpenMP to `LLVM_ALL_RUNTIMES`

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 10 13:45:58 PST 2021


Author: Shilei Tian
Date: 2021-01-10T16:45:51-05:00
New Revision: 894d2dbf502026a2b063340f8214b8ffd7cf7e21

URL: https://github.com/llvm/llvm-project/commit/894d2dbf502026a2b063340f8214b8ffd7cf7e21
DIFF: https://github.com/llvm/llvm-project/commit/894d2dbf502026a2b063340f8214b8ffd7cf7e21.diff

LOG: [LLVM] Added OpenMP to `LLVM_ALL_RUNTIMES`

This patch added `openmp` to `LLVM_ALL_RUNTIMES` so that when the CMake argument `LLVM_ENABLE_RUNTIMES=all`, OpenMP can also be built.

Reviewed By: jdoerfert

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

Added: 
    

Modified: 
    llvm/runtimes/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index 57db5c37847d..2a03fbfbcded 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -20,7 +20,7 @@ foreach(entry ${entries})
 endforeach()
 
 # Side-by-side subprojects layout.
-set(LLVM_ALL_RUNTIMES "libcxx;libcxxabi;libunwind;compiler-rt")
+set(LLVM_ALL_RUNTIMES "libcxx;libcxxabi;libunwind;compiler-rt;openmp")
 set(LLVM_ENABLE_RUNTIMES "" CACHE STRING
   "Semicolon-separated list of runtimes to build (${LLVM_ALL_RUNTIMES}), or \"all\".")
 if(LLVM_ENABLE_RUNTIMES STREQUAL "all" )


        


More information about the llvm-commits mailing list