gnu_add_configure_make_install()

def gnu_add_configure_make_install(name, source_directory, autoreconf_args, configure_args, make_args, build_artifact_globs, deps, install_path, skip_install, env, visibility)

Add an autotools project to the build

Args

  • name: string: The name of the project
  • source_directory: string: The directory of the project
  • autoreconf_args: The arguments to pass to the autoreconf script
  • configure_args: list: The arguments to pass to the configure script
  • make_args: list: The arguments to pass to the make command
  • build_artifact_globs: The globs to match the build artifacts
  • deps: list: The dependencies of the project
  • install_path: The path to install the project
  • skip_install: bool: Whether to skip the install step
  • env: dict: The environment variables to set during configure, build, and install
  • visibility: Rule visibility. See visibility.star for more info.

gnu_add_repo()

def gnu_add_repo(name, url, rev, autoreconf_args, configure_args, make_args, checkout_submodules, deps, install_path, env, visibility)

Add an autotools project from a repository

Args

  • name: string: The name of the project
  • url: string: The URL of the repository
  • rev: string: The revision of the repository
  • autoreconf_args: The arguments to pass to the autoreconf script
  • configure_args: list: The arguments to pass to the configure script
  • make_args: list: The arguments to pass to the make
  • checkout_submodules: bool: Whether to checkout submodules
  • deps: list: The dependencies of the project
  • install_path: The path to install the project
  • env: dict: The environment variables to set during configure, make, and install
  • visibility: Rule visibility. See visibility.star for more info.