View | Details | Raw Unified
Collapse All | Expand All

(-) icecream/client/main.cpp.dist (+5 lines)
 Lines 72-77    Link Here 
"   --help                     explain usage and exit\n"
"   --help                     explain usage and exit\n"
"   --version                  show version and exit\n"
"   --version                  show version and exit\n"
"Environment Variables:\n"
"Environment Variables:\n"
"   ICECC_DISABLE              if set the local compiler is used.\n"
"   ICECC_VERSION              use a specific icecc environment, see create-env\n"
"   ICECC_VERSION              use a specific icecc environment, see create-env\n"
"   ICECC_REPEAT_RATE          the number of jobs out of 1000 that should be\n"
"   ICECC_REPEAT_RATE          the number of jobs out of 1000 that should be\n"
"                              compiled on multiple hosts to ensure that they're\n"
"                              compiled on multiple hosts to ensure that they're\n"
 Lines 117-122    Link Here 
int main(int argc, char **argv)
int main(int argc, char **argv)
{
{
    char *env = getenv( "ICECC_DEBUG" );
    char *env = getenv( "ICECC_DEBUG" );
    char *icecc_disable = getenv( "ICECC_DISABLE" );
    int debug_level = Error;
    int debug_level = Error;
    if ( env ) {
    if ( env ) {
        if ( !strcasecmp( env, "info" ) )  {
        if ( !strcasecmp( env, "info" ) )  {
 Lines 161-166    Link Here 
    CompileJob job;
    CompileJob job;
    local = analyse_argv( argv, job );
    local = analyse_argv( argv, job );
    if(icecc_disable != NULL)
      local = true;
                                                                              
    pid_t pid = 0;
    pid_t pid = 0;
    /* for local jobs, we fork off a child that tells the scheduler that we got something
    /* for local jobs, we fork off a child that tells the scheduler that we got something