Skip to content

Commit

Permalink
Remove dead code, we already require cmake 2.8.8.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201495 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
espindola committed Feb 16, 2014
1 parent 2a8437f commit 56d3491
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
5 changes: 0 additions & 5 deletions lib/Target/X86/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ set(sources
)

if( CMAKE_CL_64 )
# A workaround for a bug in cmake 2.8.3. See PR 8885.
if( CMAKE_VERSION STREQUAL "2.8.3" )
include(CMakeDetermineCompilerId)
endif()
# end of workaround.
enable_language(ASM_MASM)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj
Expand Down
6 changes: 1 addition & 5 deletions projects/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ if(${LLVM_BUILD_RUNTIME})
if(NOT MSVC)
add_llvm_external_project(libcxx)
endif()
if(${CMAKE_VERSION} VERSION_GREATER 2.8.7)
add_llvm_external_project(compiler-rt)
else()
message(WARNING "Can't build compiler-rt, CMake 2.8.8 required!")
endif()
add_llvm_external_project(compiler-rt)
endif()

add_llvm_external_project(dragonegg)

0 comments on commit 56d3491

Please sign in to comment.