summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-04-21 14:50:56 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-04-21 14:50:56 +0000
commit5bfe3bf8d1fc37b6a10ce295195810a2cd9fe43d (patch)
treeec7f9fcdf7b4aea41b4a7ad0bea961b9d9c708c9 /cmake
parente0af267bc2ee95108b6a0e2128b70421ed68f999 (diff)
downloadllvm-5bfe3bf8d1fc37b6a10ce295195810a2cd9fe43d.tar.gz
llvm-5bfe3bf8d1fc37b6a10ce295195810a2cd9fe43d.tar.bz2
llvm-5bfe3bf8d1fc37b6a10ce295195810a2cd9fe43d.tar.xz
CMake: Prune redundant LLVM_COMPILER_JOBS from llvm/CMakeLists.txt. HandleLLVMOptions.cmake has it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake
index 3a10a861d6..b4b2bcd7a7 100644
--- a/cmake/modules/HandleLLVMOptions.cmake
+++ b/cmake/modules/HandleLLVMOptions.cmake
@@ -110,6 +110,8 @@ if( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 )
endif( LLVM_BUILD_32_BITS )
endif( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 )
+# On Win32 using MS tools, provide an option to set the number of parallel jobs
+# to use.
if( MSVC_IDE AND ( MSVC90 OR MSVC10 ) )
# Only Visual Studio 2008 and 2010 officially supports /MP.
# Visual Studio 2005 do support it but it's experimental there.