Skip to content

Commit

Permalink
Revert "[CMake] Pass Clang defaults to runtimes builds"
Browse files Browse the repository at this point in the history
This reverts commit r332923 which is no longer needed since its
use has been reverted in r337033.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337039 91177308-0d34-0410-b5e6-96231b3b80d8
petrhosek committed Jul 13, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7dc602e commit b4c1bb4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions runtimes/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -227,7 +227,6 @@ else() # if this is included from LLVM's CMake
-DCMAKE_C_COMPILER_WORKS=ON
-DCMAKE_ASM_COMPILER_WORKS=ON
PASSTHROUGH_PREFIXES COMPILER_RT
CLANG_DEFAULT
USE_TOOLCHAIN
${EXTRA_ARGS})
endfunction()
@@ -261,7 +260,6 @@ else() # if this is included from LLVM's CMake
-DCMAKE_ASM_COMPILER_WORKS=ON
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
${${target}_extra_args}
PASSTHROUGH_PREFIXES CLANG_DEFAULT
TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib llvm-nm llvm-objcopy llvm-objdump llvm-strip
USE_TOOLCHAIN
${EXTRA_ARGS})
@@ -357,7 +355,6 @@ else() # if this is included from LLVM's CMake
-DCMAKE_CXX_COMPILER_WORKS=ON
-DCMAKE_ASM_COMPILER_WORKS=ON
PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES
CLANG_DEFAULT
${ARG_PREFIXES}
EXTRA_TARGETS ${extra_targets}
${test_targets}
@@ -446,7 +443,6 @@ else() # if this is included from LLVM's CMake
-DLLVM_RUNTIMES_TARGET=${name}
${${name}_extra_args}
PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES
CLANG_DEFAULT
TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib llvm-nm llvm-objcopy llvm-objdump llvm-strip
EXTRA_TARGETS ${${name}_extra_targets}
${${name}_test_targets}

0 comments on commit b4c1bb4

Please sign in to comment.