redox/recipes/wip/demos/cubecl/recipe.toml
2026-02-13 19:57:07 -03:00

21 lines
544 B
TOML

#TODO cubecl-macros crate error
[source]
git = "https://github.com/tracel-ai/cubecl"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
package=gelu
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
--package "${package}" \
--release
--no-default-features
--wgpu
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v \
"target/${TARGET}/release/${package}" \
"${COOKBOOK_STAGE}/usr/bin/${package}"
"""