[zorg] r195058 - Based on the patch proposed by Rick Foos!
Dmitri Gribenko
gribozavr at gmail.com
Thu Nov 21 19:03:30 PST 2013
On Mon, Nov 18, 2013 at 3:57 PM, Galina Kistanova <gkistanova at gmail.com> wrote:
> cmakeCommand = [
> "cmake",
> "-DCMAKE_BUILD_TYPE=Release",
> "-DLLVM_ENABLE_ASSERTIONS=ON",
> - "-DCMAKE_CXX_FLAGS=\"-std=c++11 -Wdocumentation -Wno-documentation-deprecated-sync\"",
> + "-DCMAKE_C_COMPILER=clang",
> + "-DCMAKE_CXX_COMPILER=clang++",
> + "-DCMAKE_CXX_FLAGS=\"%s\"" % (" ".join(options)),
> "-DLLVM_LIT_ARGS=\"-v\"",
> "-G", "Ninja",
> "../%s" % llvm_srcdir]
Hello Galina,
This change transparently disabled ccache on some of my buildbots,
which made them slow (increased build time on
llvm-clang-lld-x86_64-ubuntu-13.04 from 5 minutes to 20 minutes).
I enable ccache by setting CC and CXX environment variables, and these
cmake arguments override my choices.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the llvm-commits
mailing list