Add recipes

This commit is contained in:
Ribbon 2024-07-20 02:11:12 +00:00
parent 0fd17730b4
commit 50963550a6
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#TODO not compiled or tested
[source]
git = "https://github.com/tracel-ai/cubecl"
[build]
template = "custom"
script = """
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}"
"""

View File

@ -0,0 +1,10 @@
#TODO not compiled or tested
[source]
git = "https://github.com/ritiek/piano-rs"
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/piano-rs
cp -rv "${COOKBOOK_SOURCE}"/assets "${COOKBOOK_STAGE}"/usr/share/piano-rs
cookbook_cargo
"""