[LLVMdev] VS build is broken again

Óscar Fuentes ofv at wanadoo.es
Sat May 17 14:44:40 PDT 2008


Dmitri Makarov <nebraskin at yahoo.com> writes:

>> Is it reasonable to ask 
>
> Yes, it's reasonable.

Since this is open source we depend on contributions from the community,
etc... You know how the song goes.

Seriously, I'll like to see a healthy MSVS build as much as you, but
someone must do the work.

> Moreover, I'd be content with a build system that doesn't use MSVS IDE
> at all.

Seconded.

> If the build system could be
> parameterized to use microsoft cl compiler (cygwin gcc is useless for
> my purposes), e.g. something like in Boost project, I'd be more than
> happy to never care about VS project files.

I use GNU Make for building my software and the build system supports
several compilers on various platforms, including gcc and cl. It is
tricky, though.

I don't know how much LLVM build system is tied to the GNU toolchain or
how much it depends on *nix features, but suppossing that adding support
for MSVC++ is impractical, perhaps it would be simpler to implement a
Makefile-based build system for MSVC++ than to keep up to date the
project files. This would support features like the one Anton mentions
on the other response to you, thus lessening the maintenance work. A
really nice thing is that, in principle, a makefile-based build system
would work the same for VS 2003, 2005 and 2008.

Note that I'm not volunteering to do the work... for now. If things
follow certain path here, I will incorporate LLVM to production on a
year or so, and this means solid MSVC++ support (for the JIT, at
least). Don't count too much on it, though :-)

[snip]

-- 
Oscar




More information about the llvm-dev mailing list