mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 15:48:45 +08:00
Add recipes
This commit is contained in:
parent
0fd17730b4
commit
50963550a6
18
recipes/wip/demos/cubecl/recipe.toml
Normal file
18
recipes/wip/demos/cubecl/recipe.toml
Normal 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}"
|
||||
"""
|
||||
10
recipes/wip/sound/piano-rs/recipe.toml
Normal file
10
recipes/wip/sound/piano-rs/recipe.toml
Normal 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
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user