gpubuild: add new package for compiling nvidia runfiles

The gpubuild package currently exports one function named Compile. It
compiles a provided runfile using the provided toolchain. It compiles
open source drivers if available, and otherwise falls back to closed
source drivers if not available.

Subsequent CLs will demonstrate how this is used.

BUG=b/450899734

Change-Id: I9de6579aaba23b20bf94628b26171f054af7ec6c
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/117861
Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
Tested-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Reviewed-by: Kevin Berry <kpberry@google.com>
2 files changed
tree: f4083daa79ded7c1cb843e3c7949683a62a05cee
  1. coverage/
  2. release/
  3. src/
  4. testing/
  5. .gitignore
  6. BUILD.bazel
  7. cloudbuild.yaml
  8. CONTRIBUTING.md
  9. deps.bzl
  10. go.mod
  11. go.sum
  12. LICENSE
  13. postsubmit-cloudbuild.yaml
  14. README.md
  15. run_builds.sh
  16. run_unit_tests.sh
  17. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.