1,885
edits
Changes
→Week 8 (March 9) - Server Farms & Distributed Processing I
= Study Week (March 2) =
= Week 8 (March 9) - Server Farms & Distributed Processing I =
Machine codes:
* [c] indicates client machine (where you are starting the build)
* [s] indicates server machine (running distccd)
Prerequisites for building with distcc:
* [c] distcc plus any requirements for a normal build (e.g., rpmbuild, cc, make, BuildRequires as specified in the spec file, etc)
* [s] distcc
Basic instructions on building with distcc:
# [c] create ~/bin and populate it with symbolic links pointing to /usr/bin/distcc for each of the compilers your package might use -- gcc, cc, g++, c++
# [c] add that directory to the start of your search path: <code>PATH=${HOME}/bin:$PATH</code>
# [s] start distccd:
# [c] start the build: <code>time rpmbuild --rebuild ''package''.src.rpm</code>
''ToDo:''
Compare the build times with and without distcc.
= Week 9 (March 16) - Server Farms & Distributed Processing II =
= Week 10 (March 23) - Server Farms & Distributed Processing III - Project Release 0.2 =