improvements:
- OO class design
- now using getopt python command line parser
- using subprocess instead of commands (thx to this tip!)
- todo: server and general cleanup, subprocess not working correctly
install like in version 1
Read more...
just wrote a small and dirty replacement for distCC. A small comparison:
LOC (Lines of Code) distCC: ~8000
LOC this tool: 142
how to use:
- copy+paste the files below into your filesystem (all in one directory). You must fix some paths:
- the real GCC path in server.py (line 33) and gridcc (line 16)
- the log message directory in utils.py (line 28).
- run server with: python ~/your/path/server.py
- create some links:
- ln -s ~/your/path/gridcc /usr/local/bin/gcc
- ln -s ~/your/path/gridcc /usr/local/bin/g++
- chmod +x ~/your/path/gridcc
- download distCC source code version and compile it as regular. The gridCC should work correctly if the above links are placed correctly
note: this little tool was tested by compiling distcc, so other programs may use other gcc-arguments, which might confuse it
BTW: why are bible-cites in the distcc-sources?
so here is the source:
Read more...