{"id":16743934,"url":"https://github.com/zshipko/halide-build","last_synced_at":"2025-08-04T18:10:10.381Z","repository":{"id":37802536,"uuid":"214553606","full_name":"zshipko/halide-build","owner":"zshipko","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-29T17:30:42.000Z","size":36,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T21:50:58.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zshipko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-12T01:06:47.000Z","updated_at":"2024-03-15T19:54:24.000Z","dependencies_parsed_at":"2022-06-22T22:31:15.943Z","dependency_job_id":null,"html_url":"https://github.com/zshipko/halide-build","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fhalide-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fhalide-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fhalide-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fhalide-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zshipko","download_url":"https://codeload.github.com/zshipko/halide-build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122729,"owners_count":20564362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T01:42:01.558Z","updated_at":"2025-03-23T15:31:06.718Z","avatar_url":"https://github.com/zshipko.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# halide-build\n\n\u003ca href=\"https://crates.io/crates/halide-build\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/halide-build.svg\"\u003e\n\u003c/a\u003e\n\nA build tool for [Halide](https://github.com/halide/halide) filters.\n\nIt can be used from within Rust code or from the command-line.\n\n## CLI\n\nTo build the command-line interface the `bin` feature must be activated:\n\n```shell\n$ cargo build --features=bin\n```\n\n## Build\n\nTo build a kernel from Rust `build.rs`:\n\n```rust\n// Create the build context\nlet build = Build::new(halide_path, output_path);\n\n// Add your source files\nbuild.src.push(\"mykernel.cpp\");\n\n// Build\nif build.build()? {\n  // Run\n  assert!(build.run()?);\n\n  // Link the resulting library\n  link_library(\"./libmykernel.a\")\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzshipko%2Fhalide-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzshipko%2Fhalide-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzshipko%2Fhalide-build/lists"}