Bug#317054: please add script to turn distcc on/off
Bastian Venthur expires-2...@venthur.de wrote: Is it possible to include a small script in the distcc package, that allows the user to turn distributed compiling easily on and off? My solution would be something like: distcc-off: removes all symlinks in /usr/local/bin which point to distcc distcc-on: creates all symlinks in /usr/local/bin These symlinks are already setup under /usr/lib/distcc, so you are better off just adding and removing that from your PATH. From README.Debian: conf 1) export DISTCC_HOSTS=localhost server1 server2 server3 export PATH=/usr/lib/distcc:$PATH make -j 8 Regards -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#317054:
Am Mittwoch, 6. Juli 2005 11:41 schrieb Bastian Venthur: Hi, I've now written a small shell-script which seems to work pretty good. Just put this script somewhere in the path and run: distccswitch on to create the symlinks and distccswitch off to remove them. Maybe you want to include this script in the package, since I think this could be very usefull especially for laptop users who work often in different LANs. I also think it would be a good idea to run distccswitch on at post-inst of distcc so the average user is not forced to browse the whole documentation of distcc to find out what to do. This script could be improved by letting it export MAKEFLAGS=CONCURENNCY_LEVEL=5 on distccswitch on -- but this is rather tricky since it should read some config-file to guess the correct number. Best regards Bastian Sorry, I've forgotten to include the script *g*. Here it is. distccswitch Description: application/shellscript
Bug#317054: (no subject)
Hi, I've now written a small shell-script which seems to work pretty good. Just put this script somewhere in the path and run: distccswitch on to create the symlinks and distccswitch off to remove them. Maybe you want to include this script in the package, since I think this could be very usefull especially for laptop users who work often in different LANs. I also think it would be a good idea to run distccswitch on at post-inst of distcc so the average user is not forced to browse the whole documentation of distcc to find out what to do. This script could be improved by letting it export MAKEFLAGS=CONCURENNCY_LEVEL=5 on distccswitch on -- but this is rather tricky since it should read some config-file to guess the correct number. Best regards Bastian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317054: please add script to turn distcc on/off
Package: distcc Version: 2.18.3-2 Severity: wishlist Is it possible to include a small script in the distcc package, that allows the user to turn distributed compiling easily on and off? My solution would be something like: distcc-off: removes all symlinks in /usr/local/bin which point to distcc distcc-on: creates all symlinks in /usr/local/bin The background is: I have a laptop and when connected to my home-lan I want to use my compiler-farm. But when I am in a different lan, distcc is quite useless. Moreover when compiling things in a different lan I see these annoying warnings. Including these scripts would not hurt and are quite easy to write. And secondly: the average user has an easy method to turn distcc easily on ;) kind regards Bastian -- Package-specific info: -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12.2-laptop Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages distcc depends on: ii adduser 3.64 Add and remove users and groups ii debconf 1.4.51 Debian configuration management sy ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libpopt01.7-5lib for parsing cmdline parameters ii netbase 4.21 Basic TCP/IP networking system distcc recommends no packages. -- debconf information: * distcc/daemon-allow: 192.168.0.0/16 * distcc/daemon: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317054: please add script to turn distcc on/off
On 5 Jul 2005, Bastian Venthur [EMAIL PROTECTED] wrote: Package: distcc Version: 2.18.3-2 Severity: wishlist Is it possible to include a small script in the distcc package, that allows the user to turn distributed compiling easily on and off? My solution would be something like: distcc-off: removes all symlinks in /usr/local/bin which point to distcc distcc-on: creates all symlinks in /usr/local/bin The background is: I have a laptop and when connected to my home-lan I want to use my compiler-farm. But when I am in a different lan, distcc is quite useless. Moreover when compiling things in a different lan I see these annoying warnings. You can also just set DISTCC_HOSTS=localhost and distcc will directly run everything locally. There is still some cost but it's very small. That's not to say I think the scripts are a bad idea. I think gentoo has something similar? -- Martin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]