[LLVMdev] Arm port
Óscar Fuentes
ofv at wanadoo.es
Fri May 22 15:09:19 PDT 2009
Chuck Robey <chuckr at telenix.org> writes:
[snip]
> Someone said that maybe CMake is already compatible with BSD make, so
> I quicly went into one of your Makefiles and took out the first
> incompatibility I found. Means ONLY that CMake != BSD Make, that's
> all. Looks to me to be a great deal more like GNU Make, isn't that
> so?
As said on my previous reply to you, the makefiles distributed with LLVM
are not related to CMake.
[snip]
> My own feeling is that adding in the ability to generate BSD Makefiles
> from Cmake files is going to tremendously compllicate the ability to
> fix build problems,
Maybe there is a common misunderstanding here. CMake is not a build
tool, it is a build generator tool. That means that it competes with the
GNU autotools, for instance, but not with make, or gmake. CMake
generates makefiles (or project files for XCode, Visual Studio, etc) so
it actually requires some other tool (`make' in your case) for the
actual build. This is why I'm suggesting that you should check if CMake
generates makefiles compatible with BSD make, instead of writing (and
maintaining) them yourself. LLVM is a fast moving target: adding, moving
and removing source files and library requirements is common.
Ah, and as you may prefer to avoid the autotools, you need a
BSD-specific config.h file, don't you? In principle, CMake can provide
this too.
Please note that I'm just trying to avoid some possibly unnecesary work,
in the case that the current stuff we have does what you need.
[snip]
--
Óscar
More information about the llvm-dev
mailing list