src/Pure/Build/build_schedule.scala
changeset 79615 a01f4cf202fd
parent 79614 58c0636e0ef5
child 79616 12bb31d01510
equal deleted inserted replaced
79614:58c0636e0ef5 79615:a01f4cf202fd
  1533 
  1533 
  1534   Options are:
  1534   Options are:
  1535     -A ROOT      include AFP with given root directory (":" for """ + AFP.BASE.implode + """)
  1535     -A ROOT      include AFP with given root directory (":" for """ + AFP.BASE.implode + """)
  1536     -B NAME      include session NAME and all descendants
  1536     -B NAME      include session NAME and all descendants
  1537     -D DIR       include session directory and select its sessions
  1537     -D DIR       include session directory and select its sessions
  1538     -H HOSTS     additional build cluster host specifications, of the form
  1538     -H HOSTS     additional cluster host specifications of the form
  1539                  "NAMES:PARAMETERS" (separated by commas)
  1539                  NAMES:PARAMETERS (separated by commas)
  1540     -N           cyclic shuffling of NUMA CPU nodes (performance tuning)
  1540     -N           cyclic shuffling of NUMA CPU nodes (performance tuning)
  1541     -O FILE      output file
  1541     -O FILE      output file
  1542     -R           refer to requirements of selected sessions
  1542     -R           refer to requirements of selected sessions
  1543     -X NAME      exclude sessions from group NAME and all descendants
  1543     -X NAME      exclude sessions from group NAME and all descendants
  1544     -a           select all sessions
  1544     -a           select all sessions
  1546     -g NAME      select session group NAME
  1546     -g NAME      select session group NAME
  1547     -o OPTION    override Isabelle system OPTION (via NAME=VAL or NAME)
  1547     -o OPTION    override Isabelle system OPTION (via NAME=VAL or NAME)
  1548     -v           verbose
  1548     -v           verbose
  1549     -x NAME      exclude session NAME and all descendants
  1549     -x NAME      exclude session NAME and all descendants
  1550 
  1550 
  1551   Generate build graph.
  1551   Generate build graph for scheduling.
  1552 """,
  1552 """,
  1553         "A:" -> (arg => afp_root = Some(if (arg == ":") AFP.BASE else Path.explode(arg))),
  1553         "A:" -> (arg => afp_root = Some(if (arg == ":") AFP.BASE else Path.explode(arg))),
  1554         "B:" -> (arg => base_sessions += arg),
  1554         "B:" -> (arg => base_sessions += arg),
  1555         "D:" -> (arg => select_dirs += Path.explode(arg)),
  1555         "D:" -> (arg => select_dirs += Path.explode(arg)),
  1556         "H:" -> (arg => build_hosts ++= Build_Cluster.Host.parse(Registry.global, arg)),
  1556         "H:" -> (arg => build_hosts ++= Build_Cluster.Host.parse(Registry.global, arg)),