build:
  template_file: linux-opt-base.tyml
  routes:
    - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.gpu"
    - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.${event.head.sha}.gpu"
    - "index.project.deepspeech.deepspeech.native_client.gpu.${event.head.sha}"
  system_setup:
    >
      ${nodejs.packages_trusty.prep_6} && ${nodejs.packages_trusty.apt_pinning}
      && apt-get -qq update && apt-get -qq -y install nodejs python-yaml &&
      apt-get -qq -y install ${python.packages_trusty.apt} && ${swig.packages.install_script}
  system_config:
    >
      ${swig.patch_nodejs.linux}
  tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.11.4cecc8c05b574c3edf8777447b7c8729483ebc8d.gpu/artifacts/public/home.tar.xz"
  summarize_graph: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.r1.11.4cecc8c05b574c3edf8777447b7c8729483ebc8d.gpu/artifacts/public/summarize_graph"
  maxRunTime: 14400
  scripts:
    build: "taskcluster/cuda-build.sh"
    package: "taskcluster/package.sh"
  metadata:
    name: "DeepSpeech Linux AMD64 CUDA"
    description: "Building DeepSpeech for Linux/AMD64, CUDA-enabled, optimized version"
