else()
set( ${var} "i686-pc-win32" PARENT_SCOPE )
endif()
else()
set( ${var} "i686-pc-win32" PARENT_SCOPE )
endif()
+ elseif( MINGW AND NOT MSYS )
+ set( ${var} "i686-pc-mingw32" PARENT_SCOPE )
else( MSVC )
set(config_guess ${LLVM_MAIN_SRC_DIR}/autoconf/config.guess)
execute_process(COMMAND sh ${config_guess}
else( MSVC )
set(config_guess ${LLVM_MAIN_SRC_DIR}/autoconf/config.guess)
execute_process(COMMAND sh ${config_guess}
# large and three small executables. This is done to minimize memory load
# in parallel builds. Please retain this ordering.
# large and three small executables. This is done to minimize memory load
# in parallel builds. Please retain this ordering.
+if( NOT WIN32 OR MSYS OR CYGWIN )
# It is useful to build llvm-config before the other tools, so we
# have a fresh LibDeps.txt for regenerating the hard-coded library
# dependencies. llvm-config/CMakeLists.txt takes care of this but we
# It is useful to build llvm-config before the other tools, so we
# have a fresh LibDeps.txt for regenerating the hard-coded library
# dependencies. llvm-config/CMakeLists.txt takes care of this but we