projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
917f993
)
VMCore/CMakeLists.txt: [CMake][MSVC] Add "/Og-" to Function.cpp on msvc10. Otherwise...
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 24 Jun 2012 03:48:29 +0000
(
03:48
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 24 Jun 2012 03:48:29 +0000
(
03:48
+0000)
FIXME: Suppressing optimizations to core libraries would not be good thing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159097
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/lib/VMCore/CMakeLists.txt
b/lib/VMCore/CMakeLists.txt
index e1efcdadc711cc1950bbe59838fdfde090fe4679..ba6edd9f55d097dcc49f46ac82abd0b538c6f446 100644
(file)
--- a/
lib/VMCore/CMakeLists.txt
+++ b/
lib/VMCore/CMakeLists.txt
@@
-36,3
+36,12
@@
add_llvm_library(LLVMCore
ValueTypes.cpp
Verifier.cpp
)
+
+# Workaround: It takes over 20 minutes to compile with msvc10.
+# FIXME: Suppressing optimizations to core libraries would not be good thing.
+if( MSVC_VERSION EQUAL 1600 )
+set_property(
+ SOURCE Function.cpp
+ PROPERTY COMPILE_FLAGS "/Og-"
+ )
+endif()