[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    icecream/client
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2012-07-08 15:27:47
Message-ID: 20120708152747.DDF34AC7AB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1304633 by lunakl:

rename ICECC_REWRITE_INCLUDES to ICECC_CLANG_REMOTE_CPP and add to --help



 M  +2 -2      local.cpp  
 M  +2 -0      main.cpp  


--- trunk/icecream/client/local.cpp #1304632:1304633
@@ -133,11 +133,11 @@
 bool compiler_only_rewrite_includes( const CompileJob& job )
 {
     if ( compiler_is_clang( job )) {
-        if( const char* rewrite_includes = getenv( "ICECC_REWRITE_INCLUDES" ))
+        if( const char* rewrite_includes = getenv( "ICECC_CLANG_REMOTE_CPP" ))
             return *rewrite_includes != '\0' && *rewrite_includes != '0';
 #ifdef HAVE_CLANG_REWRITE_INCLUDES
         // Assume that we use the same clang (as least as far as capabilities go)
-        // as was available when icecream was built. ICECC_REWRITE_INCLUDES above
+        // as was available when icecream was built. ICECC_CLANG_REMOTE_CPP above
         // allows override, and the only case when this should realistically break
         // is if somebody downgrades their clang.
         return true;
--- trunk/icecream/client/main.cpp #1304632:1304633
@@ -88,6 +88,8 @@
 "   ICECC_PREFERRED_HOST       overrides scheduler decisions if set.\n"
 "   ICECC_CC                   set C compiler name (default gcc).\n"
 "   ICECC_CXX                  set C++ compiler name (default g++).\n"
+"   ICECC_CLANG_REMOTE_CPP     set to 1 or 0 to override remote precompiling with clang\n"
+"                              (requires clang -Wp,-rewrite-includes option).\n"
 "\n");
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic