aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/CMakeLists.txt
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2010-12-29 03:59:27 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2010-12-29 03:59:27 +0000
commit7d63a2c2e8da75eeb2d36dd93adf33f7658d0083 (patch)
tree4b88e95d4340d45322f01edbbf4dcca9165eb451 /lib/Target/ARM/CMakeLists.txt
parent8eac88621626e196db2cb76492dc60c71c7c7fbb (diff)
downloadexternal_llvm-7d63a2c2e8da75eeb2d36dd93adf33f7658d0083.zip
external_llvm-7d63a2c2e8da75eeb2d36dd93adf33f7658d0083.tar.gz
external_llvm-7d63a2c2e8da75eeb2d36dd93adf33f7658d0083.tar.bz2
CMake: Add disabling optimization on MSVC8 and MSVC10 as workaround for some files in Target/ARM and Target/X86.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/CMakeLists.txt')
-rw-r--r--lib/Target/ARM/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/ARM/CMakeLists.txt b/lib/Target/ARM/CMakeLists.txt
index 4f721f8..9c66a6a 100644
--- a/lib/Target/ARM/CMakeLists.txt
+++ b/lib/Target/ARM/CMakeLists.txt
@@ -53,3 +53,11 @@ add_llvm_target(ARMCodeGen
Thumb2RegisterInfo.cpp
Thumb2SizeReduction.cpp
)
+
+# workaround for hanging compilation on MSVC10
+if( MSVC_VERSION EQUAL 1600 )
+set_property(
+ SOURCE ARMISelLowering.cpp
+ PROPERTY COMPILE_FLAGS "/Od"
+ )
+endif()