From b447343350385f6aa00c2031ad111e72a1082334 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Mon, 12 Oct 2026 16:17:42 -0300 Subject: [PATCH] Fix and update many more recipes, and remove unnecessary recipes --- recipes/wip/bench/bencher/recipe.toml | 10 +++++++--- recipes/wip/bench/fearless-simd/recipe.toml | 4 ++-- recipes/wip/bench/hpc/hpcg/recipe.toml | 8 ++++++-- recipes/wip/bench/hpc/minibude/recipe.toml | 5 +++-- recipes/wip/bench/hyperfine/recipe.toml | 2 +- recipes/wip/bench/io/blogbench/recipe.toml | 2 +- recipes/wip/bench/io/fio/recipe.toml | 5 ++++- recipes/wip/bench/io/simple-disk-benchmark/recipe.toml | 2 +- recipes/wip/bench/jasonisnthappy/recipe.toml | 2 +- recipes/wip/bench/nanobench/recipe.toml | 10 +++++++++- recipes/wip/bench/rayon/recipe.toml | 2 +- recipes/wip/bench/rodinia/recipe.toml | 8 +++++++- recipes/wip/bench/rpc-perf/recipe.toml | 3 ++- recipes/wip/bench/rsb/recipe.toml | 3 ++- recipes/wip/bench/stress-ng/recipe.toml | 8 +++++++- recipes/wip/bench/suite/pts/recipe.toml | 2 +- recipes/wip/dev/other/lurk/recipe.toml | 3 ++- recipes/wip/dev/perf/vkpeak/recipe.toml | 2 +- recipes/wip/dev/proofs/cvc5/recipe.toml | 3 ++- recipes/wip/dev/proofs/z3/recipe.toml | 2 +- recipes/wip/dev/rust-tools/clippy/recipe.toml | 6 ------ recipes/wip/dev/rust-tools/crater/recipe.toml | 2 +- recipes/wip/dev/rust-tools/diplomat/recipe.toml | 7 +++++-- recipes/wip/dev/rust-tools/dylint/recipe.toml | 2 +- recipes/wip/dev/rust-tools/evcxr-jupyter/recipe.toml | 2 +- recipes/wip/dev/rust-tools/evcxr-repl/recipe.toml | 2 +- recipes/wip/dev/rust-tools/miri/recipe.toml | 6 ------ recipes/wip/dev/rust-tools/rust-glancer/recipe.toml | 2 +- recipes/wip/dev/rust-tools/rustfmt/recipe.toml | 6 ------ recipes/wip/dev/rust-tools/rustup/recipe.toml | 2 +- recipes/wip/dev/rust-tools/sccache/recipe.toml | 7 +++---- recipes/wip/dev/rust-tools/scriptisto/recipe.toml | 2 +- recipes/wip/edu/bibiman/recipe.toml | 2 +- recipes/wip/edu/hacker-laws/recipe.toml | 1 + recipes/wip/edu/nanocore/recipe.toml | 2 ++ recipes/wip/edu/rustlings/recipe.toml | 1 + recipes/wip/edu/rusty-tape/recipe.toml | 4 +++- 37 files changed, 84 insertions(+), 58 deletions(-) delete mode 100644 recipes/wip/dev/rust-tools/clippy/recipe.toml delete mode 100644 recipes/wip/dev/rust-tools/miri/recipe.toml delete mode 100644 recipes/wip/dev/rust-tools/rustfmt/recipe.toml diff --git a/recipes/wip/bench/bencher/recipe.toml b/recipes/wip/bench/bencher/recipe.toml index e58099dea..2974a0e73 100644 --- a/recipes/wip/bench/bencher/recipe.toml +++ b/recipes/wip/bench/bencher/recipe.toml @@ -1,8 +1,12 @@ -#TODO compile and test +#TODO compiled but untested +#TODO add command for installation # self-hosted documentation: https://bencher.dev/docs/explanation/bencher-self-hosted/ [source] git = "https://github.com/bencherdev/bencher" shallow_clone = true [build] -template = "cargo" -cargopackages = ["bencher_cli"] +template = "custom" +script = """ +DYNAMIC_INIT +cookbook_cargo_packages bencher_cli +""" diff --git a/recipes/wip/bench/fearless-simd/recipe.toml b/recipes/wip/bench/fearless-simd/recipe.toml index dd7af0cc9..21f4dde5a 100644 --- a/recipes/wip/bench/fearless-simd/recipe.toml +++ b/recipes/wip/bench/fearless-simd/recipe.toml @@ -1,10 +1,10 @@ -#TODO compile and test +#TODO compiled but untested [source] git = "https://github.com/linebender/fearless_simd" shallow_clone = true [build] template = "cargo" -cargopath = "fearless_simd/examples" +cargopath = "fearless_simd" cargoexamples = [ "sigmoid", "sigmoid_generic", diff --git a/recipes/wip/bench/hpc/hpcg/recipe.toml b/recipes/wip/bench/hpc/hpcg/recipe.toml index ce49a0c58..52426d740 100644 --- a/recipes/wip/bench/hpc/hpcg/recipe.toml +++ b/recipes/wip/bench/hpc/hpcg/recipe.toml @@ -1,6 +1,10 @@ -#TODO not compiled or tested +#TODO ninja error: unknown target 'install' [source] git = "https://github.com/hpcg-benchmark/hpcg" shallow_clone = true [build] -template = "cmake" +template = "custom" +script = """ +DYNAMIC_INIT +cookbook_cmake +""" diff --git a/recipes/wip/bench/hpc/minibude/recipe.toml b/recipes/wip/bench/hpc/minibude/recipe.toml index b63b712dc..11f8dfafb 100644 --- a/recipes/wip/bench/hpc/minibude/recipe.toml +++ b/recipes/wip/bench/hpc/minibude/recipe.toml @@ -1,6 +1,7 @@ -#TODO missing script for gnu make: https://github.com/UoB-HPC/miniBUDE#building +#TODO build and test +#TODO does a model need to be chosen?: https://github.com/UoB-HPC/miniBUDE#building [source] git = "https://github.com/UoB-HPC/miniBUDE" shallow_clone = true [build] -template = "custom" +template = "cmake" diff --git a/recipes/wip/bench/hyperfine/recipe.toml b/recipes/wip/bench/hyperfine/recipe.toml index 4b963663f..b30b9b3d1 100644 --- a/recipes/wip/bench/hyperfine/recipe.toml +++ b/recipes/wip/bench/hyperfine/recipe.toml @@ -1,4 +1,4 @@ -#TODO libc::RUSAGE_CHILDREN +#TODO cannot find function `wait4` in crate `libc` [source] git = "https://github.com/sharkdp/hyperfine" shallow_clone = true diff --git a/recipes/wip/bench/io/blogbench/recipe.toml b/recipes/wip/bench/io/blogbench/recipe.toml index 836166900..6a4b72139 100644 --- a/recipes/wip/bench/io/blogbench/recipe.toml +++ b/recipes/wip/bench/io/blogbench/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO syntax error near unexpected token `newline' # build instructions: https://github.com/jedisct1/Blogbench/blob/master/README#L18 [source] tar = "https://github.com/jedisct1/Blogbench/releases/download/1.2/blogbench-1.2.tar.bz2" diff --git a/recipes/wip/bench/io/fio/recipe.toml b/recipes/wip/bench/io/fio/recipe.toml index eb41050c4..ef6f29606 100644 --- a/recipes/wip/bench/io/fio/recipe.toml +++ b/recipes/wip/bench/io/fio/recipe.toml @@ -1,7 +1,10 @@ -#TODO configuration problem +#TODO bad configure options [source] git = "https://github.com/axboe/fio" rev = "fio-3.41" shallow_clone = true [build] template = "configure" +configureflags = [ + "--disable-native", +] diff --git a/recipes/wip/bench/io/simple-disk-benchmark/recipe.toml b/recipes/wip/bench/io/simple-disk-benchmark/recipe.toml index 4fe40d717..4aba8fc1f 100644 --- a/recipes/wip/bench/io/simple-disk-benchmark/recipe.toml +++ b/recipes/wip/bench/io/simple-disk-benchmark/recipe.toml @@ -1,6 +1,6 @@ #TODO source code error [source] -git = "https://github.com/schwa/simple-disk-benchmark-rs" +git = "https://github.com/isan-Ethen/simple-disk-benchmark-rs" shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/bench/jasonisnthappy/recipe.toml b/recipes/wip/bench/jasonisnthappy/recipe.toml index 1c1d91b1b..22aaaf848 100644 --- a/recipes/wip/bench/jasonisnthappy/recipe.toml +++ b/recipes/wip/bench/jasonisnthappy/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO port fs2 crate [source] git = "https://github.com/sohzm/jasonisnthappy" shallow_clone = true diff --git a/recipes/wip/bench/nanobench/recipe.toml b/recipes/wip/bench/nanobench/recipe.toml index a54415f7d..21eecc515 100644 --- a/recipes/wip/bench/nanobench/recipe.toml +++ b/recipes/wip/bench/nanobench/recipe.toml @@ -1,4 +1,7 @@ -#TODO build the userspace implementation: https://github.com/andreas-abel/nanoBench#user-space-version +# userspace implementation: https://github.com/andreas-abel/nanoBench#user-space-version +#TODO build and test +#TODO add command for installation +#TODO package msr-tools: https://01.org/sites/default/files/downloads/msr-tools/msr-tools-1.3.zip [source] git = "https://github.com/andreas-abel/nanoBench" rev = "36c077fd30db11e8c83cedfcb58daa505d1d0b12" @@ -9,3 +12,8 @@ template = "custom" dependencies = [ "python312", ] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" user -j "${COOKBOOK_MAKE_JOBS}" +""" diff --git a/recipes/wip/bench/rayon/recipe.toml b/recipes/wip/bench/rayon/recipe.toml index 99a82f714..754d54316 100644 --- a/recipes/wip/bench/rayon/recipe.toml +++ b/recipes/wip/bench/rayon/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO glutin crate error [source] git = "https://github.com/rayon-rs/rayon" shallow_clone = true diff --git a/recipes/wip/bench/rodinia/recipe.toml b/recipes/wip/bench/rodinia/recipe.toml index 460e2dfd2..23840b7a1 100644 --- a/recipes/wip/bench/rodinia/recipe.toml +++ b/recipes/wip/bench/rodinia/recipe.toml @@ -1,5 +1,11 @@ -#TODO missing script for gnu make, build the openmp (cpu backend?) or opencl implementation +#TODO build and test [source] tar = "http://www.cs.virginia.edu/~skadron/lava/rodinia/Packages/rodinia_3.1.tar.bz2" [build] template = "custom" +dependencies = ["openmp"] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" OMP -j "${COOKBOOK_MAKE_JOBS}" +""" diff --git a/recipes/wip/bench/rpc-perf/recipe.toml b/recipes/wip/bench/rpc-perf/recipe.toml index 85678820c..d1d9571e4 100644 --- a/recipes/wip/bench/rpc-perf/recipe.toml +++ b/recipes/wip/bench/rpc-perf/recipe.toml @@ -1,4 +1,5 @@ -#TODO not compiled or tested +#TODO outdated metriken-core crate +#TODO metriken-core crate error: distributed_slice is not implemented for this platform [source] git = "https://github.com/iopsystems/rpc-perf" shallow_clone = true diff --git a/recipes/wip/bench/rsb/recipe.toml b/recipes/wip/bench/rsb/recipe.toml index f065b7c8d..3eb41f4ae 100644 --- a/recipes/wip/bench/rsb/recipe.toml +++ b/recipes/wip/bench/rsb/recipe.toml @@ -1,6 +1,7 @@ -#TODO not compiled or tested +#TODO openssl-sys crate error, make it use openssl3 recipe [source] git = "https://github.com/gamelife1314/rsb" shallow_clone = true [build] template = "cargo" +dependencies = ["openssl3"] diff --git a/recipes/wip/bench/stress-ng/recipe.toml b/recipes/wip/bench/stress-ng/recipe.toml index eba47cd9c..783783bd3 100644 --- a/recipes/wip/bench/stress-ng/recipe.toml +++ b/recipes/wip/bench/stress-ng/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for gnu make: https://github.com/ColinIanKing/stress-ng#building-stress-ng +#TODO build and test #TODO determine minimum dependencies [source] git = "https://github.com/ColinIanKing/stress-ng" @@ -19,3 +19,9 @@ template = "custom" # "zlib", # "mesa", #] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" +"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}/usr" +""" diff --git a/recipes/wip/bench/suite/pts/recipe.toml b/recipes/wip/bench/suite/pts/recipe.toml index 854a2e92b..47bac2719 100644 --- a/recipes/wip/bench/suite/pts/recipe.toml +++ b/recipes/wip/bench/suite/pts/recipe.toml @@ -1,4 +1,4 @@ -#TODO figure out the installation script - https://github.com/phoronix-test-suite/phoronix-test-suite +#TODO test [source] git = "https://github.com/phoronix-test-suite/phoronix-test-suite" shallow_clone = true diff --git a/recipes/wip/dev/other/lurk/recipe.toml b/recipes/wip/dev/other/lurk/recipe.toml index a94e58fea..edc1d701a 100644 --- a/recipes/wip/dev/other/lurk/recipe.toml +++ b/recipes/wip/dev/other/lurk/recipe.toml @@ -1,5 +1,6 @@ -#TODO users crate error +#TODO build error [source] git = "https://github.com/JakWai01/lurk" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/perf/vkpeak/recipe.toml b/recipes/wip/dev/perf/vkpeak/recipe.toml index 5d156fb31..fd287dfbe 100644 --- a/recipes/wip/dev/perf/vkpeak/recipe.toml +++ b/recipes/wip/dev/perf/vkpeak/recipe.toml @@ -1,4 +1,4 @@ -#TODO fix libvulkan +#TODO fix libvulkan dep # build instructions: https://github.com/nihui/vkpeak#build-from-source [source] git = "https://github.com/nihui/vkpeak" diff --git a/recipes/wip/dev/proofs/cvc5/recipe.toml b/recipes/wip/dev/proofs/cvc5/recipe.toml index c806232af..cbed6289d 100644 --- a/recipes/wip/dev/proofs/cvc5/recipe.toml +++ b/recipes/wip/dev/proofs/cvc5/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO GMP-EP-stamp bundled dep can't find cross-compiler #TODO run configure.sh or cmake directly? # build instructions: https://github.com/cvc5/cvc5/blob/main/INSTALL.rst [source] @@ -8,6 +8,7 @@ shallow_clone = true [build] template = "cmake" cmakeflags = [ + "-DCMAKE_BUILD_TYPE=Production", "-DENABLE_AUTO_DOWNLOAD=ON", ] dependencies = [ diff --git a/recipes/wip/dev/proofs/z3/recipe.toml b/recipes/wip/dev/proofs/z3/recipe.toml index cf5a57613..5585aa409 100644 --- a/recipes/wip/dev/proofs/z3/recipe.toml +++ b/recipes/wip/dev/proofs/z3/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO inconsistent types 'unsigned int' and 'long int' deduced for lambda return type # build instructions: https://github.com/Z3Prover/z3/blob/master/README-CMake.md [source] git = "https://github.com/Z3Prover/z3" diff --git a/recipes/wip/dev/rust-tools/clippy/recipe.toml b/recipes/wip/dev/rust-tools/clippy/recipe.toml deleted file mode 100644 index fbd5cd626..000000000 --- a/recipes/wip/dev/rust-tools/clippy/recipe.toml +++ /dev/null @@ -1,6 +0,0 @@ -#TODO camino crate error -[source] -git = "https://github.com/rust-lang/rust-clippy" -shallow_clone = true -[build] -template = "cargo" diff --git a/recipes/wip/dev/rust-tools/crater/recipe.toml b/recipes/wip/dev/rust-tools/crater/recipe.toml index ffa50737c..a859f0e51 100644 --- a/recipes/wip/dev/rust-tools/crater/recipe.toml +++ b/recipes/wip/dev/rust-tools/crater/recipe.toml @@ -1,4 +1,4 @@ -#TODO camino crate error +#TODO fs_at crate error: add a redox cfg to avoid openat64 linux syscall being used [source] git = "https://github.com/rust-lang/crater" shallow_clone = true diff --git a/recipes/wip/dev/rust-tools/diplomat/recipe.toml b/recipes/wip/dev/rust-tools/diplomat/recipe.toml index d40549065..e9168869c 100644 --- a/recipes/wip/dev/rust-tools/diplomat/recipe.toml +++ b/recipes/wip/dev/rust-tools/diplomat/recipe.toml @@ -3,5 +3,8 @@ git = "https://github.com/rust-diplomat/diplomat" shallow_clone = true [build] -template = "cargo" -cargopackages = ["diplomat"] +template = "custom" +script = """ +DYNAMIC_INIT +cookbook_cargo_packages diplomat +""" diff --git a/recipes/wip/dev/rust-tools/dylint/recipe.toml b/recipes/wip/dev/rust-tools/dylint/recipe.toml index f99ead2e9..50e967d72 100644 --- a/recipes/wip/dev/rust-tools/dylint/recipe.toml +++ b/recipes/wip/dev/rust-tools/dylint/recipe.toml @@ -1,4 +1,4 @@ -#TODO cargo-util crate error +#TODO compiled but untested [source] git = "https://github.com/trailofbits/dylint" shallow_clone = true diff --git a/recipes/wip/dev/rust-tools/evcxr-jupyter/recipe.toml b/recipes/wip/dev/rust-tools/evcxr-jupyter/recipe.toml index 5192bb287..97ea7defd 100644 --- a/recipes/wip/dev/rust-tools/evcxr-jupyter/recipe.toml +++ b/recipes/wip/dev/rust-tools/evcxr-jupyter/recipe.toml @@ -1,4 +1,4 @@ -#TODO camino crate error +#TODO sig crate error: cannot find value `SIGPOLL` in crate `libc` [source] git = "https://github.com/evcxr/evcxr" shallow_clone = true diff --git a/recipes/wip/dev/rust-tools/evcxr-repl/recipe.toml b/recipes/wip/dev/rust-tools/evcxr-repl/recipe.toml index ed246c3ff..372ed570f 100644 --- a/recipes/wip/dev/rust-tools/evcxr-repl/recipe.toml +++ b/recipes/wip/dev/rust-tools/evcxr-repl/recipe.toml @@ -1,4 +1,4 @@ -#TODO camino crate error +#TODO sig crate error: cannot find value `SIGPOLL` in crate `libc` [source] git = "https://github.com/evcxr/evcxr" shallow_clone = true diff --git a/recipes/wip/dev/rust-tools/miri/recipe.toml b/recipes/wip/dev/rust-tools/miri/recipe.toml deleted file mode 100644 index db20e0cae..000000000 --- a/recipes/wip/dev/rust-tools/miri/recipe.toml +++ /dev/null @@ -1,6 +0,0 @@ -#TODO not compiled or tested -[source] -git = "https://github.com/rust-lang/miri" -shallow_clone = true -[build] -template = "cargo" diff --git a/recipes/wip/dev/rust-tools/rust-glancer/recipe.toml b/recipes/wip/dev/rust-tools/rust-glancer/recipe.toml index fba594e8e..167d22e3c 100644 --- a/recipes/wip/dev/rust-tools/rust-glancer/recipe.toml +++ b/recipes/wip/dev/rust-tools/rust-glancer/recipe.toml @@ -1,4 +1,4 @@ -#TODO compile and test +#TODO outdated crates [source] git = "https://github.com/rust-glancer/rust-glancer" shallow_clone = true diff --git a/recipes/wip/dev/rust-tools/rustfmt/recipe.toml b/recipes/wip/dev/rust-tools/rustfmt/recipe.toml deleted file mode 100644 index 12d739b3c..000000000 --- a/recipes/wip/dev/rust-tools/rustfmt/recipe.toml +++ /dev/null @@ -1,6 +0,0 @@ -#TODO serde crate error (after cargo update) -[source] -git = "https://github.com/rust-lang/rustfmt" -shallow_clone = true -[build] -template = "cargo" diff --git a/recipes/wip/dev/rust-tools/rustup/recipe.toml b/recipes/wip/dev/rust-tools/rustup/recipe.toml index a21ea7eb1..6c15d4789 100644 --- a/recipes/wip/dev/rust-tools/rustup/recipe.toml +++ b/recipes/wip/dev/rust-tools/rustup/recipe.toml @@ -1,4 +1,4 @@ -#TODO serde crate error +#TODO fs_at crate error: add a redox cfg to avoid openat64 linux syscall being used [source] git = "https://github.com/rust-lang/rustup" shallow_clone = true diff --git a/recipes/wip/dev/rust-tools/sccache/recipe.toml b/recipes/wip/dev/rust-tools/sccache/recipe.toml index 039aff7e6..9cd4b7842 100644 --- a/recipes/wip/dev/rust-tools/sccache/recipe.toml +++ b/recipes/wip/dev/rust-tools/sccache/recipe.toml @@ -1,9 +1,8 @@ -#TODO libc error +#TODO compiled but untested [source] git = "https://github.com/mozilla/sccache" shallow_clone = true [build] template = "cargo" -dependencies = [ - "openssl3", -] +cargoflags = ["--no-default-features"] +#dependencies = ["openssl3"] # do we need a feature flag that need it? diff --git a/recipes/wip/dev/rust-tools/scriptisto/recipe.toml b/recipes/wip/dev/rust-tools/scriptisto/recipe.toml index 202dbcf78..ab19c77db 100644 --- a/recipes/wip/dev/rust-tools/scriptisto/recipe.toml +++ b/recipes/wip/dev/rust-tools/scriptisto/recipe.toml @@ -1,4 +1,4 @@ -#TODO users crate error +#TODO liberrno linking error: undefined reference to `errno_location' [source] git = "https://github.com/igor-petruk/scriptisto" shallow_clone = true diff --git a/recipes/wip/edu/bibiman/recipe.toml b/recipes/wip/edu/bibiman/recipe.toml index 29cbe8f55..c9cf7c046 100644 --- a/recipes/wip/edu/bibiman/recipe.toml +++ b/recipes/wip/edu/bibiman/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO compiled but untested [source] git = "https://codeberg.org/lukeflo/bibiman" [build] diff --git a/recipes/wip/edu/hacker-laws/recipe.toml b/recipes/wip/edu/hacker-laws/recipe.toml index 1d9fbcbb2..3feae08b9 100644 --- a/recipes/wip/edu/hacker-laws/recipe.toml +++ b/recipes/wip/edu/hacker-laws/recipe.toml @@ -1,6 +1,7 @@ #TODO not tested [source] git = "https://github.com/dwmkerr/hacker-laws" +shallow_clone = true [build] template = "custom" script = """ diff --git a/recipes/wip/edu/nanocore/recipe.toml b/recipes/wip/edu/nanocore/recipe.toml index f0d9ad828..8f2008883 100644 --- a/recipes/wip/edu/nanocore/recipe.toml +++ b/recipes/wip/edu/nanocore/recipe.toml @@ -1,9 +1,11 @@ #TODO not compiled or tested [source] git = "https://github.com/AfaanBilal/NanoCore" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo mkdir -pv "${COOKBOOK_STAGE}/usr/share/nanocore" cp -rv "${COOKBOOK_SOURCE}"/programs/* "${COOKBOOK_STAGE}/usr/share/nanocore" diff --git a/recipes/wip/edu/rustlings/recipe.toml b/recipes/wip/edu/rustlings/recipe.toml index 0d335328f..582acdb8f 100644 --- a/recipes/wip/edu/rustlings/recipe.toml +++ b/recipes/wip/edu/rustlings/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested (after cargo update) [source] git = "https://github.com/rust-lang/rustlings" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/edu/rusty-tape/recipe.toml b/recipes/wip/edu/rusty-tape/recipe.toml index f6c71a5ab..b1776aa7d 100644 --- a/recipes/wip/edu/rusty-tape/recipe.toml +++ b/recipes/wip/edu/rusty-tape/recipe.toml @@ -1,10 +1,12 @@ #TODO compiled but not tested [source] git = "https://github.com/Kkobarii/Rusty-Tape" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT +cookbook_cargo mkdir -pv "${COOKBOOK_STAGE}"/usr/share/rusty-tape cp -rv "${COOKBOOK_SOURCE}"/data/* "${COOKBOOK_STAGE}"/usr/share/rusty-tape -cookbook_cargo """