| 434 | = Optimized Builds = |
| 435 | |
| 436 | |
| 437 | A new bitten config for doing optimized builds '''opt.dybinst''' |
| 438 | * http://dayabay.ihep.ac.cn/tracs/dybsvn/build/opt.dybinst |
| 439 | |
| 440 | Optimized builds are done in an "opt" directory within the normal dybinst directory : |
| 441 | |
| 442 | {{{ |
| 443 | dybinst |
| 444 | external |
| 445 | NuWa-trunk |
| 446 | |
| 447 | opt/ |
| 448 | dybinst |
| 449 | external |
| 450 | NuWa-trunk |
| 451 | }}} |
| 452 | |
| 453 | |
| 454 | The master can be configured to distribute "dybinst" and/or "opt.dybinst" |
| 455 | configs to your slave. |
| 456 | |
| 457 | It is not necessary to setup two slaves to perform the "opt" builds, |
| 458 | although if you have another node available it has the advantage that "dbg" and |
| 459 | "opt" builds can then proceed in parallel. Otherwise with a single slave |
| 460 | you will have to wait for the "dbg" build to complete before the "opt" build |
| 461 | starts (or vv). |
| 462 | |
| 463 | If you want to setup parallel "dbg" and "opt" builds then send me |
| 464 | 2 lists of hostnames for "opt.dybinst" and "dybinst" builds. |
| 465 | |
| 466 | The '''copy''' step of the '''opt''' builds copies to : {{{ <dyb_copybase>/opt/Nuwa-<revision> }}} |
| 467 | rather than the normal : {{{<dyb_copybase>/NuWa-<revision>}}} where '''dyb_copybase''' is configured in |
| 468 | for examples '''~/.dybinstrc''' . |
| 469 | * not configuring it prevents the copy from being done |
| 470 | |
| 471 | |
| 472 | |
| 473 | |