File: dmake

package info (click to toggle)
distcc 3.1-6.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,568 kB
  • ctags: 3,009
  • sloc: ansic: 19,204; python: 6,177; sh: 4,023; makefile: 862; perl: 52
file content (16 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh

# Example script contributed by Luke Gorrie

# "Drop-in" front end to 'make' that uses the distributed compile farm
# via `distcc'

# Compile farm hosts are stored in ~bluetail/distcc-hosts. We exclude
# the local machine to free up resources for preprocessing and
# linking, since it seems to be the bottleneck (at least on
# kookaburra).

DISTCC_HOSTS=$(sed s/$(hostname -s)// < /home/share/bluetail/distcc-hosts)

make CC='/home/share/luke/bin/distcc gcc' -j 7 "$@"