halide-build
A build tool for Halide filters.
It can be used from within Rust code or from the command-line.
CLI
To build the command-line interface the bin
feature must be activated:
$ cargo build --features=bin
Build
To build a kernel from Rust build.rs
:
// Create the build context
let build = new;
// Add your source files
build.src.push;
// Build
if build.build?