Clone this repo:
  1. 221bc55 Use converted apex_bootclasspath_utils.py script by Chris Jones · 1 year, 9 months ago master
  2. 970ecbb Add oriole benchmark config file by Chris Jones · 2 years, 3 months ago
  3. 2395ce4 Skip readonly CPU online files by Chris Jones · 2 years, 2 months ago
  4. cba52c6 Support new CPU structure format for benchmarks by Chris Jones · 2 years, 3 months ago
  5. a642ec1 Fix the --gdb option on target. by Artem Serov · 2 years, 2 months ago

art-build-scripts

Contents:

  • Overview
  • Requirements
  • Directory Structure
  • Guidelines

Overview

The art-build-scripts are part of a stable/tip checkout. All scripts work for both Tip and Stable. The scripts follow the Google Shell Style Guide, plus following additions:

  • All scripts use set -o nounset (done by default in utils.sh).
  • Constant variables used in the same script are in lower_case.
  • Constant variables used across scripts or picked up from environment are in UPPER_CASE.

Requirements

  1. bash 4.2+

Note: you don't need to have shellcheck installed, presubmit.sh will download it if necessary.

Guidelines

  • All executable scripts should have a main() function.
  • All executable scripts should take options (at least -h and -v) in arguments_parser().
  • All executable scripts have a usage() (-h or --help) that tells how the script should be used.
  • All helper scripts are not executable.
  • All scripts should include at least utils.sh, which
    • sets global shell options like set -o nounset and,
    • enables coloured logging for interactive sessions (not jenkins).
  • All scripts and changes should be checked by running ./presubmit.sh.