[LLVMdev] Running a Local Buildbot

NAKAMURA Takumi geek4civic at gmail.com
Mon Jan 28 16:07:38 PST 2013


2013/1/29 Renato Golin <renato.golin at linaro.org>:
> Yes, this does make a big difference. Keep the assertions, leave the debug
> symbols out. I believe this is the default CMake build type, but not the
> configure one, so be careful.

No. by default, CMake generates minimal flags, w/o -g, -On, nor -DNDEBUG.
"Assertions is not disabled, non-debug, non-optimized."

CMAKE_CXX_FLAGS is used, but CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE}(s)
are not used.

On CMake, CMAKE_BUILD_TYPE should be chosen.
(could we fill it with "Debug" by default?)

> Also, I got different failures with CMake and configure, so try both. Again,
> development kernels/hardware, so not worthy reporting to the list just yet.

It is the point that we should investigate and improve, anyways.
I dare to say, it might be a good coverage to build the tree with both
autoconf and cmake. ;)

...Takumi



More information about the llvm-dev mailing list