diff options
author | Shilei Tian <tianshilei1992@gmail.com> | 2021-01-10 16:45:39 -0500 |
---|---|---|
committer | Shilei Tian <tianshilei1992@gmail.com> | 2021-01-10 16:45:51 -0500 |
commit | 894d2dbf502026a2b063340f8214b8ffd7cf7e21 (patch) | |
tree | 341f8b3fdc2fa1d5b04f8378d88d0892771fb022 /llvm/runtimes | |
parent | 8e8d214c4a6c417e42996faeb9211a5c2e32111f (diff) | |
download | llvm-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.txt | 2 |
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" ) |