Examples

Read the examples of the build hosts file.

  • Build hosts file that uses a listed host only if it is at least 75% idle:
    -idle 75
    mercury
    earth
    mars
    pluto
  • Nesting of build hosts files:
    -idle 30
    einstein
    bohr
    fermi
    #include /usr/local/lib/planet.hosts
  • Use an environment variable to specify where other build hosts files are located.
    #include ${BLDHOSTPATH}/build_hosts
  • Use multiple -idle directives to control build access.
    # my machines
    -idle 10
    neon
    saturn
    # project build hosts
    #include ${BLDHOSTPATH)/dev_build_hosts 
    # other random hosts
    -idle 50
    bigzilla

    The project build hosts file looks like this:

    # The development project owns these machines
    -random
    chirp
    mew
    -idle 10
    growl
    roar