Added TicTacToe Dashboard and tests (#1547)

* Add tictactoe dashboard and tests
This commit is contained in:
jackcmay
2018-10-18 14:19:25 -07:00
committed by GitHub
parent 37a0b7b132
commit 0339642e77
6 changed files with 951 additions and 449 deletions

View File

@@ -50,6 +50,17 @@ fn main() {
.status()
.expect("Failed to call tictactoe_c build script");
assert!(status.success());
println!("cargo:rerun-if-changed=programs/bpf/tictactoe_dashboard_c/build.sh");
println!(
"cargo:rerun-if-changed=programs/bpf/tictactoe_dashboard_c/src/tictactoe_dashboard.c"
);
println!("cargo:warning=(not a warning) Compiling tictactoe_dashboard_c");
let status = Command::new("programs/bpf/tictactoe_dashboard_c/build.sh")
.arg(&out_dir)
.status()
.expect("Failed to call tictactoe_dashboard_c build script");
assert!(status.success());
}
if chacha || cuda || erasure {
println!("cargo:rustc-link-search=native=target/perf-libs");