c40158ab98
The toolchain now uses extract_ar from https://skia-review.googlesource.com/c/buildbot/+/524764 which is a static executable to extract the .deb files. This was necessary because the llvm-ar that had previously been used requires glibc 2.31+ to run, but our Debian10 machines on Swarming have an older version (2.28). A longer-term fix is to have Bazel support .ar files, which I plan to attempt to contribute this week. The RBE task will be added as an experimental CQ job, to see how it handles the load of running often. With the remote execution cache, I hope it performs well, once the toolchains are cached on both the Swarming machines and in the RBE workers. Note: We had to add several files to the CAS spec (see compile_cas.go) which are required for Bazel to work. Change-Id: Ie70c70d5f33768c957760f9eeb7835025109b487 Bug: skia:12541 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/524759 Reviewed-by: Joe Gregorio <jcgregorio@google.com>
21 lines
642 B
Python
21 lines
642 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
go_library(
|
|
name = "bazel_check_includes_lib",
|
|
srcs = ["bazel_check_includes.go"],
|
|
importpath = "go.skia.org/skia/infra/bots/task_drivers/bazel_check_includes",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"@org_skia_go_infra//go/exec",
|
|
"@org_skia_go_infra//task_driver/go/lib/bazel",
|
|
"@org_skia_go_infra//task_driver/go/lib/os_steps",
|
|
"@org_skia_go_infra//task_driver/go/td",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "bazel_check_includes",
|
|
embed = [":bazel_check_includes_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|