diff options
author | Leonard Chan <leonardchan@google.com> | 2021-09-09 04:31:10 +0300 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2021-09-09 04:31:10 +0300 |
commit | d96e0c5388c56727840b06f6e12ec99ae71e712f (patch) | |
tree | 20daf5aec798bbb4eda7532df9101d0f73c771f0 /runtimes | |
parent | 9e46dd965abd5f52ae00c28cc4f23ec5706e7ba2 (diff) |
Revert "[runtimes] Set more paths when building runtimes standalone"
This reverts commit 407e07aa67ab56c92cdec1fdbf6b121afbceddaf.
Reverting since this seems to break OpenMP builds and our clang
builders. See thread on https://reviews.llvm.org/D107895.
Diffstat (limited to 'runtimes')
-rw-r--r-- | runtimes/CMakeLists.txt | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt index 418da857ea08..1ffce323d951 100644 --- a/runtimes/CMakeLists.txt +++ b/runtimes/CMakeLists.txt @@ -58,12 +58,6 @@ if(compiler_rt_path) endif() endif() -if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) - set(LLVM_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}) - set(LLVM_TOOLS_BINARY_DIR ${LLVM_BINARY_DIR}/bin) - set(LLVM_LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/lib) -endif() - # Setting these variables will allow the sub-build to put their outputs into # the library and bin directories of the top-level build. set(LLVM_LIBRARY_OUTPUT_INTDIR ${LLVM_LIBRARY_DIR}) |