aboutsummaryrefslogtreecommitdiff
path: root/llvm/runtimes
diff options
context:
space:
mode:
authorShilei Tian <tianshilei1992@gmail.com>2021-01-10 16:45:39 -0500
committerShilei Tian <tianshilei1992@gmail.com>2021-01-10 16:45:51 -0500
commit894d2dbf502026a2b063340f8214b8ffd7cf7e21 (patch)
tree341f8b3fdc2fa1d5b04f8378d88d0892771fb022 /llvm/runtimes
parent8e8d214c4a6c417e42996faeb9211a5c2e32111f (diff)
downloadllvm-894d2dbf502026a2b063340f8214b8ffd7cf7e21.zip
llvm-894d2dbf502026a2b063340f8214b8ffd7cf7e21.tar.gz
llvm-894d2dbf502026a2b063340f8214b8ffd7cf7e21.tar.bz2
[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
Diffstat (limited to 'llvm/runtimes')
-rw-r--r--llvm/runtimes/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index 57db5c3..2a03fbf 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" )