# vim: filetype=yaml sw=2
version: 2.35.1
filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
var:
  configure_opt: '--disable-multilib --enable-gold --enable-deterministic-archives --enable-plugins'
  container:
    use_container: 1

targets:
  # We use the windows-clang target for the binutils we use for building
  # clang during windows builds. See projects/clang/config.
  windows-clang:
    var:
      configure_opt: '--disable-multilib --enable-gold --enable-deterministic-archives --enable-plugins'
  windows:
    var:
      configure_opt: '--target=[% c("arch") %]-w64-mingw32 --disable-multilib --enable-deterministic-archives'

input_files:
  - URL: https://ftp.gnu.org/gnu/binutils/binutils-[% c("version") %].tar.xz
    sig_ext: sig
    file_gpg_id: 1
    gpg_keyring: binutils.gpg
  - project: container-image
