[LLVMdev] include/Config/config.h discrepancies between CMake and autofoo builds

Óscar Fuentes ofv at wanadoo.es
Wed Jan 5 06:34:28 PST 2011


arrowdodger <6yearold at gmail.com> writes:

>> Or to say it with other words: patches welcome.
>
> So, how should i proceed? Make CMake-generated config to be identical to
> autotools one?

That would be a good thing.

Please note that some checks are a bit tricky. A function that on
platform A is on header foo.h on another platform may be on
bar.h. Furthermore, cmake's platform testing support is not so mature as
autoconf's (at least on Unix).

> Or cleanup both headers from unused stuff by Eric's
> suggestion?

I'm not sure this is a good idea (not that it is bad either). Murphy's
Law says that a function that you remove today will be used tomorrow.

[snip]



More information about the llvm-dev mailing list