Eli Friedman
2009-Aug-09 19:42 UTC
[LLVMdev] modify cmakefiles to set the default triple of msvc and mingw to i686-pc-mingw
On Sun, Aug 9, 2009 at 10:03 AM, Óscar Fuentes<ofv at wanadoo.es> wrote:>> Also, now msvc support multiple target. So it's better to set it as >> ${LLVM_ALL_TARGETS} >> It's can working, why not set it to:. > > I think most LLVM users on Windows are interested on X86 only. This > saves a lot of time on the build process and creates smaller > executables. Anyways, it they want all targets, it is simply a matter of > passing -DLLVM_TARGETS_TO_BUILD=all on the cmake command line.I don't see any reason why that argument applies to people building with MSVC, but not people on other platforms. -Eli
Óscar Fuentes
2009-Aug-09 20:04 UTC
[LLVMdev] modify cmakefiles to set the default triple of msvc and mingw to i686-pc-mingw
Eli Friedman <eli.friedman at gmail.com> writes:> On Sun, Aug 9, 2009 at 10:03 AM, Óscar Fuentes<ofv at wanadoo.es> wrote: >> I think most LLVM users on Windows are interested on X86 only. This >> saves a lot of time on the build process and creates smaller >> executables. Anyways, it they want all targets, it is simply a matter of >> passing -DLLVM_TARGETS_TO_BUILD=all on the cmake command line. > > I don't see any reason why that argument applies to people building > with MSVC, but not people on other platforms.It is important to make a distinction between LLVM users and developers. AFAIK, almost no developers work on msvc, hence most people building LLVM on msvc are users who want to produce code for their native platform, while the developers are interested on a full build. Another reason is that by limiting the build to X86, there is a smaller probability of a build failure with a toolset which is not checked on a day-by-day basis, as msvc is. -- Óscar
Eli Friedman
2009-Aug-09 21:36 UTC
[LLVMdev] modify cmakefiles to set the default triple of msvc and mingw to i686-pc-mingw
On Sun, Aug 9, 2009 at 1:04 PM, Óscar Fuentes<ofv at wanadoo.es> wrote:> Eli Friedman <eli.friedman at gmail.com> writes: > >> On Sun, Aug 9, 2009 at 10:03 AM, Óscar Fuentes<ofv at wanadoo.es> wrote: >>> I think most LLVM users on Windows are interested on X86 only. This >>> saves a lot of time on the build process and creates smaller >>> executables. Anyways, it they want all targets, it is simply a matter of >>> passing -DLLVM_TARGETS_TO_BUILD=all on the cmake command line. >> >> I don't see any reason why that argument applies to people building >> with MSVC, but not people on other platforms. > > Another reason is that by limiting the build to X86, there is a > smaller probability of a build failure with a toolset which is not > checked on a day-by-day basis, as msvc is.MSVC *is* continuously checked; see http://google1.osuosl.org:8011/builders/clang-i686-xp-msvc9. Anyone who breaks the MSVC build will get a nastygram from buildbot. -Eli
Possibly Parallel Threads
- [LLVMdev] modify cmakefiles to set the default triple of msvc and mingw to i686-pc-mingw
- [LLVMdev] modify cmakefiles to set the default triple of msvc and mingw to i686-pc-mingw
- [LLVMdev] modify cmakefiles to set the default triple of msvc and mingw to i686-pc-mingw
- [LLVMdev] modify cmakefiles to set the default triple of msvc and mingw to i686-pc-mingw
- [LLVMdev] modify cmakefiles to set the default triple of msvc and mingw to i686-pc-mingw