- This is a bazel project - use
bb buildto ensure that targets compile.bbis the BuildBuddy CLI, which is a drop-in replacement for Bazel, similar tobazelisk. See https://buildbuddy.io/cli for more info. - This bazel project supports remote execution and remote caching.
After making large changes, you can efficiently test the entire repo using
bb test //... --config=remotewhich runs tests using BuildBuddy's
- This is a bazel project - use
bb buildto ensure that targets compile.bbis the BuildBuddy CLI, which is a drop-in replacement for Bazel, similar tobazelisk. See https://buildbuddy.io/cli for more info. - This bazel project supports remote execution and remote caching.
After making large changes, you can efficiently test the entire repo using
bb test //... --config=remotewhich runs tests using BuildBuddy's
- This is a bazel project - use
bb buildto ensure that targets compile.bbis the BuildBuddy CLI, which is a drop-in replacement for Bazel, similar tobazelisk. See https://buildbuddy.io/cli for more info. - This bazel project supports remote execution and remote caching.
After making large changes, you can efficiently test the entire repo using
bb test //... --config=remotewhich runs tests using BuildBuddy's
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| usage() { | |
| cat <<'USAGE' | |
| Usage: | |
| af_alg_socket_probe.sh [--remote_executor=<target>] [bb execute flags...] | |
| Runs a remote action that passes only when: | |
| - socket(AF_ALG, SOCK_SEQPACKET, 0) is blocked, and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define _GNU_SOURCE | |
| #include <errno.h> | |
| #include <linux/io_uring.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <sys/mman.h> | |
| #include <sys/syscall.h> | |
| #include <unistd.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "path/filepath" | |
| "runtime" | |
| "sync" | |
| "syscall" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| sh_test( | |
| name = "systeminfo_" + pool, | |
| srcs = ["systeminfo.sh"], | |
| exec_properties = { | |
| "test.Pool": pool, | |
| } | |
| ) | |
| for pool in [ | |
| # Add/change pools here if desired |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| sh_test( | |
| name = "systeminfo_" + pool, | |
| srcs = ["systeminfo.sh"], | |
| exec_properties = { | |
| "Pool": pool, | |
| }, | |
| env = { | |
| "POOL": pool, | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| sh_test( | |
| name = "systeminfo_" + pool, | |
| srcs = ["systeminfo.sh"], | |
| exec_properties = { | |
| "Pool": pool, | |
| }, | |
| env = { | |
| "POOL": pool, | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| load("//:bash_binary.bzl", "bash_binary") | |
| package(default_visibility = ["//visibility:public"]) | |
| bash_binary( | |
| name = "a", | |
| src = "a.tmpl.sh", | |
| data = [ | |
| "//:b", | |
| ], |
NewerOlder