[llvm-commits] [llvm] r122623 - in /llvm/trunk/lib/Target: ARM/CMakeLists.txt ARM/Disassembler/CMakeLists.txt X86/Disassembler/CMakeLists.txt
NAKAMURA Takumi
geek4civic at gmail.com
Tue Dec 28 19:59:27 PST 2010
Author: chapuni
Date: Tue Dec 28 21:59:27 2010
New Revision: 122623
URL: http://llvm.org/viewvc/llvm-project?rev=122623&view=rev
Log:
CMake: Add disabling optimization on MSVC8 and MSVC10 as workaround for some files in Target/ARM and Target/X86.
Modified:
llvm/trunk/lib/Target/ARM/CMakeLists.txt
llvm/trunk/lib/Target/ARM/Disassembler/CMakeLists.txt
llvm/trunk/lib/Target/X86/Disassembler/CMakeLists.txt
Modified: llvm/trunk/lib/Target/ARM/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/CMakeLists.txt?rev=122623&r1=122622&r2=122623&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/ARM/CMakeLists.txt Tue Dec 28 21:59:27 2010
@@ -53,3 +53,11 @@
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()
Modified: llvm/trunk/lib/Target/ARM/Disassembler/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Disassembler/CMakeLists.txt?rev=122623&r1=122622&r2=122623&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Disassembler/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/ARM/Disassembler/CMakeLists.txt Tue Dec 28 21:59:27 2010
@@ -4,8 +4,8 @@
ARMDisassembler.cpp
ARMDisassemblerCore.cpp
)
-# workaround for hanging compilation on MSVC9 and 10
-if( MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
+# workaround for hanging compilation on MSVC8, 9 and 10
+if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
set_property(
SOURCE ARMDisassembler.cpp
PROPERTY COMPILE_FLAGS "/Od"
Modified: llvm/trunk/lib/Target/X86/Disassembler/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/Disassembler/CMakeLists.txt?rev=122623&r1=122622&r2=122623&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/Disassembler/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/X86/Disassembler/CMakeLists.txt Tue Dec 28 21:59:27 2010
@@ -5,7 +5,7 @@
X86DisassemblerDecoder.c
)
# workaround for hanging compilation on MSVC9 and 10
-if( MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
+if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
set_property(
SOURCE X86Disassembler.cpp
PROPERTY COMPILE_FLAGS "/Od"
More information about the llvm-commits
mailing list