source: trunk/IPs/systemC/processor/Morpheo/Script/distcc_run.sh

Last change on this file was 138, checked in by rosiere, 14 years ago

1) add counters_t type for interface
2) fix in check load in load_store_unit
3) add parameters (but not yet implemented)
4) change environment and add script (distcc_env.sh ...)
5) add warning if an unser change rename flag with l.mtspr instruction
6) ...

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 621 bytes
Line 
1#!/bin/sh
2
3#-----[ distcc_run_main ]----------------------------------------------
4function distcc_run_main ()
5{
6    local hosts="${DISTCC_HOSTS}";
7
8    export DISTCC_HOSTS="";
9    for line in ${hosts}; do
10        host=$(echo ${line} | cut -d/ -f1);
11        echo " * station : ${host}";
12
13        # launch service
14
15        ssh ${host} ${MORPHEO_SCRIPT}/distcc.sh ${1};
16
17        # if ssh is ok, insert line in DISTCC_HOSTS
18        if test "$?" -eq "0"; then
19            export DISTCC_HOSTS="$DISTCC_HOSTS ${line}";
20        fi;
21    done;
22}
23
24#-----[ Body ]----------------------------------------------
25distcc_run_main ${*};
Note: See TracBrowser for help on using the repository browser.