Print this page
4030 remove useless nightly/bldenv options
Reviewed by: Andy Stormont <andyjstormont@gmail.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/nightly.1
          +++ new/usr/src/tools/scripts/nightly.1
↓ open down ↓ 223 lines elided ↑ open up ↑
 224  224  .B \-G
 225  225  Gate keeper default group of options (-u)
 226  226  .TP
 227  227  .B \-I
 228  228  Integration engineer default group of options (-mpu)
 229  229  .TP
 230  230  .B \-R
 231  231  Default group of options for building a release (-mp)
 232  232  
 233  233  .LP
 234      -.B Source Build options
 235      -.TP 10
 236      -.B \-S E | D | H
 237      -Build the Export, Domestic, or Hybrid source product. Only Export and
 238      -Domestic are truly buildable at this time.
 239      -.TP 10
 240      -.B \-S O
 241      -Simulate an OpenSolaris build on a full tree.  This can be used by
 242      -internal developers to ensure that they haven't broken the build for
 243      -external developers.
 244      -.LP
 245      -Source build options only make sense for a full internal tree (open
 246      -and closed source).  Only one source build option can be specified at
 247      -a time.
 248      -
 249      -.LP
 250  234  .B Miscellaneous options
 251  235  .TP 10
 252      -.B \-O
 253      -generate deliverables for OpenSolaris.  Tarballs containing signed
 254      -cryptographic binaries and binaries
 255      -of closed-source components are put in $CODEMGR_WS.  (The
 256      -cryptographic tarballs are copies of the
 257      -ones that are put in the parent directory of
 258      -$PKGARCHIVE.)
 259      -.TP 10
 260  236  .B \-V VERS
 261  237  set the build version string to VERS, overriding VERSION
 262  238  .TP
 263  239  .B \-X
 264  240  Copies the proto area and packages from the IHV and IHV-bin gates into the
 265  241  nightly proto and package areas.  This is only available on i386.  See
 266  242  .B REALMODE ENVIRONMENT VARIABLES
 267  243  and
 268  244  .B BUILDING THE IHV WORKSPACE
 269  245  below.
↓ open down ↓ 73 lines elided ↑ open up ↑
 343  319  .B ROOT
 344  320  .RS 5
 345  321  Root of the proto area for the build.  The makefiles direct
 346  322  installation of build products to this area and
 347  323  direct references to these files by builds of commands and other
 348  324  targets.  It should be expressed in terms of $CODEMGR_WS.
 349  325  .LP
 350  326  If $MULTI_PROTO is "no", $ROOT may contain a DEBUG or non-DEBUG
 351  327  build.  If $MULTI_PROTO is "yes", $ROOT contains the DEBUG build and
 352  328  $ROOT-nd contains the non-DEBUG build.
 353      -.LP
 354      -For OpenSolaris deliveries (\fB\-O\fR), $ROOT-closed contains a parallel
 355      -proto area containing the DEBUG build of just usr/closed components, and
 356      -$ROOT-nd-closed contains the non-DEBUG equivalent.
 357  329  .RE
 358  330  .LP
 359  331  .B TOOLS_ROOT
 360  332  .RS 5
 361  333  Root of the tools proto area for the build.  The makefiles direct
 362  334  installation of tools build products to this area.  Unless \fB+t\fR
 363  335  is part of $NIGHTLY_OPTIONS, these tools will be used during the
 364  336  build.
 365  337  .LP
 366  338  As built by nightly, this will always contain non-DEBUG objects.
↓ open down ↓ 158 lines elided ↑ open up ↑
 525  497  .B TEAMWARE
 526  498  .RS 5
 527  499  The gate-defined default location for the Teamware tools; e.g.,
 528  500  /ws/onnv-tools/SUNWspro.  By default, it is derived from
 529  501  .BR OPTHOME .
 530  502  This is used by nightly, but not the makefiles.  There is no
 531  503  corresponding variable for Mercurial or Subversion, which are assumed
 532  504  to be installed in the default path.
 533  505  .RE
 534  506  .LP
 535      -.B OPEN_SRCDIR
 536      -.RS 5
 537      -The open source tree is copied to this directory when simulating an
 538      -OpenSolaris build (\fB\-S O\fR).  It defaults to $CODEMGR_WS/open_src.
 539      -.LP
 540      -.RE
 541  507  .B ON_CLOSED_BINS
 542  508  .RS 5
 543  509  OpenSolaris builds do not contain the closed source tree.  Instead,
 544  510  the developer downloads a closed binaries tree and unpacks it.  
 545  511  .B ON_CLOSED_BINS
 546  512  tells nightly
 547  513  where to find these closed binaries, so that it can add them into the
 548  514  build.
 549  515  .LP
 550  516  .RE
↓ open down ↓ 25 lines elided ↑ open up ↑
 576  542  safe to use.  Set this flag to 'n' to disable this test, allowing any
 577  543  version of dmake to be used.
 578  544  .RE
 579  545  .LP
 580  546  .B MULTI_PROTO
 581  547  .RS 5
 582  548  If "no" (the default), 
 583  549  .I nightly
 584  550  will reuse $ROOT for both the DEBUG and non-DEBUG builds.  If "yes",
 585  551  the DEBUG build will go in $ROOT and the non-DEBUG build will go in
 586      -$ROOT-nd.  Other values will be treated as "no".  Use of the
 587      -.B \-O
 588      -flag forces MULTI_PROTO to "yes".
      552 +$ROOT-nd.  Other values will be treated as "no".
 589  553  .RE
 590  554  .LP
 591  555  .SH NIGHTLY HOOK ENVIRONMENT VARIABLES
 592  556  .LP
 593  557  Several optional environment variables may specify commands to run at
 594  558  various points during the build.  Commands specified in the hook
 595  559  variable will be run in a subshell; command output will be appended to
 596  560  the mail message and log file.  If the hook exits with a non-zero
 597  561  status, the build is aborted immediately.  Environment variables
 598  562  defined in the environment file will be available.
↓ open down ↓ 108 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX