From de26f022c95c369589eb8134d06eb8b9fe3e11ec Mon Sep 17 00:00:00 2001 From: Ribbon Date: Thu, 29 Jan 2026 10:51:51 -0300 Subject: [PATCH] Improve and fix many recipes --- recipes/wip/archives/7-zip/recipe.toml | 2 +- recipes/wip/archives/mlar/recipe.toml | 2 ++ recipes/wip/archives/orz/recipe.toml | 1 + recipes/wip/archives/ouch/recipe.toml | 1 + recipes/wip/archives/unzrip/recipe.toml | 1 + recipes/wip/backup/borg/recipe.toml | 4 +-- recipes/wip/backup/partclone/recipe.toml | 1 + recipes/wip/backup/vorta/recipe.toml | 5 +-- .../bench/cargo/cargo-benchcmp/recipe.toml | 1 + .../bench/cargo/cargo-criterion/recipe.toml | 1 + .../wip/bench/dacapo-benchmarks/recipe.toml | 2 +- recipes/wip/bench/hpc/hpcc/recipe.toml | 6 ++-- recipes/wip/bench/hpc/hpcg/recipe.toml | 5 +-- recipes/wip/bench/hpc/minibude/recipe.toml | 3 +- recipes/wip/bench/hyperfine/recipe.toml | 1 + recipes/wip/bench/io/blogbench/recipe.toml | 9 +++-- recipes/wip/bench/io/fio/recipe.toml | 3 +- .../io/simple-disk-benchmark/recipe.toml | 1 + recipes/wip/bench/rodinia/recipe.toml | 4 +-- recipes/wip/bench/rpc-perf/recipe.toml | 3 +- recipes/wip/bench/stress-ng/recipe.toml | 33 ++++++++++--------- .../suite/phoronix-test-suite/recipe.toml | 7 +++- 22 files changed, 62 insertions(+), 34 deletions(-) diff --git a/recipes/wip/archives/7-zip/recipe.toml b/recipes/wip/archives/7-zip/recipe.toml index 4930f7e03..773f48ae5 100644 --- a/recipes/wip/archives/7-zip/recipe.toml +++ b/recipes/wip/archives/7-zip/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for "make", see https://github.com/mcmilk/7-Zip/tree/master/DOC#readme +#TODO missing script for gnu make: https://github.com/mcmilk/7-Zip/tree/master/DOC#readme [source] tar = "https://7-zip.org/a/7z2301-src.tar.xz" [build] diff --git a/recipes/wip/archives/mlar/recipe.toml b/recipes/wip/archives/mlar/recipe.toml index 5fd0cc565..2a9bcd001 100644 --- a/recipes/wip/archives/mlar/recipe.toml +++ b/recipes/wip/archives/mlar/recipe.toml @@ -1,8 +1,10 @@ #TODO compiled but not tested [source] git = "https://github.com/ANSSI-FR/MLA" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_packages mlar """ diff --git a/recipes/wip/archives/orz/recipe.toml b/recipes/wip/archives/orz/recipe.toml index 758d96655..cf82b62ae 100644 --- a/recipes/wip/archives/orz/recipe.toml +++ b/recipes/wip/archives/orz/recipe.toml @@ -1,5 +1,6 @@ #TODO don't run [source] git = "https://github.com/richox/orz" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/archives/ouch/recipe.toml b/recipes/wip/archives/ouch/recipe.toml index 851597f28..9bc40883a 100644 --- a/recipes/wip/archives/ouch/recipe.toml +++ b/recipes/wip/archives/ouch/recipe.toml @@ -1,6 +1,7 @@ #TODO compilation error [source] git = "https://github.com/ouch-org/ouch" +shallow_clone = true [build] template = "cargo" dependencies = [ diff --git a/recipes/wip/archives/unzrip/recipe.toml b/recipes/wip/archives/unzrip/recipe.toml index e31e1140d..61d5cc2ea 100644 --- a/recipes/wip/archives/unzrip/recipe.toml +++ b/recipes/wip/archives/unzrip/recipe.toml @@ -1,6 +1,7 @@ #TODO make zstd work (after cargo update) [source] git = "https://github.com/quininer/unzrip" +shallow_clone = true [build] template = "cargo" dependencies = [ diff --git a/recipes/wip/backup/borg/recipe.toml b/recipes/wip/backup/borg/recipe.toml index 6df0b093c..40efef0b4 100644 --- a/recipes/wip/backup/borg/recipe.toml +++ b/recipes/wip/backup/borg/recipe.toml @@ -1,11 +1,11 @@ #TODO missing script for pip -# build instructions - https://borgbackup.readthedocs.io/en/stable/installation.html#source-install +# build instructions: https://borgbackup.readthedocs.io/en/stable/installation.html#source-install [source] tar = "https://github.com/borgbackup/borg/releases/download/1.4.1/borgbackup-1.4.1.tar.gz" [build] template = "custom" dependencies = [ - "openssl1", + "openssl3", "libacl", "libattr", "xxhash", diff --git a/recipes/wip/backup/partclone/recipe.toml b/recipes/wip/backup/partclone/recipe.toml index 96d8c8e37..a20ecf79f 100644 --- a/recipes/wip/backup/partclone/recipe.toml +++ b/recipes/wip/backup/partclone/recipe.toml @@ -2,6 +2,7 @@ [source] git = "https://github.com/Thomas-Tsai/partclone" rev = "0.3.40" +shallow_clone = true script = """ DYNAMIC_INIT autotools_recursive_regenerate diff --git a/recipes/wip/backup/vorta/recipe.toml b/recipes/wip/backup/vorta/recipe.toml index 830541fed..ebda5b6ff 100644 --- a/recipes/wip/backup/vorta/recipe.toml +++ b/recipes/wip/backup/vorta/recipe.toml @@ -1,7 +1,8 @@ #TODO missing script for pip -# build instructions - https://vorta.borgbase.com/install/linux/#install-from-source +# build instructions: https://vorta.borgbase.com/install/linux/#install-from-source [source] git = "https://github.com/borgbase/vorta" -rev = "f2b42742f9a56f15a46f2b287825122032fcdb90" +rev = "v0.11.3" +shallow_clone = true [build] template = "custom" diff --git a/recipes/wip/bench/cargo/cargo-benchcmp/recipe.toml b/recipes/wip/bench/cargo/cargo-benchcmp/recipe.toml index a9fbc1c1f..f6e377622 100644 --- a/recipes/wip/bench/cargo/cargo-benchcmp/recipe.toml +++ b/recipes/wip/bench/cargo/cargo-benchcmp/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/BurntSushi/cargo-benchcmp" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/bench/cargo/cargo-criterion/recipe.toml b/recipes/wip/bench/cargo/cargo-criterion/recipe.toml index 6ba7cb273..ed9af8804 100644 --- a/recipes/wip/bench/cargo/cargo-criterion/recipe.toml +++ b/recipes/wip/bench/cargo/cargo-criterion/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested (after cargo update) [source] git = "https://github.com/bheisler/cargo-criterion" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/bench/dacapo-benchmarks/recipe.toml b/recipes/wip/bench/dacapo-benchmarks/recipe.toml index 0fc1315ba..4e3d04216 100644 --- a/recipes/wip/bench/dacapo-benchmarks/recipe.toml +++ b/recipes/wip/bench/dacapo-benchmarks/recipe.toml @@ -1,5 +1,5 @@ #TODO missing data type to download the Java bytecode -# download link - https://download.dacapobench.org/chopin/dacapo-23.11-chopin.zip +# download link: https://download.dacapobench.org/chopin/dacapo-23.11-chopin.zip [source] [build] diff --git a/recipes/wip/bench/hpc/hpcc/recipe.toml b/recipes/wip/bench/hpc/hpcc/recipe.toml index 6cc31de23..cb211c794 100644 --- a/recipes/wip/bench/hpc/hpcc/recipe.toml +++ b/recipes/wip/bench/hpc/hpcc/recipe.toml @@ -1,5 +1,7 @@ -#TODO missing script for building, check the tarball +#TODO missing script for gnu make or python script: https://github.com/icl-utk-edu/hpcc#compiling [source] -tar = "https://hpcchallenge.org/projectsfiles/hpcc/download/hpcc-1.5.0.tar.gz" +git = "https://github.com/icl-utk-edu/hpcc" +rev = "1.5.0" +shallow_clone = true [build] template = "custom" diff --git a/recipes/wip/bench/hpc/hpcg/recipe.toml b/recipes/wip/bench/hpc/hpcg/recipe.toml index fe63ce86e..ce49a0c58 100644 --- a/recipes/wip/bench/hpc/hpcg/recipe.toml +++ b/recipes/wip/bench/hpc/hpcg/recipe.toml @@ -1,5 +1,6 @@ -#TODO missing script for building, see https://github.com/hpcg-benchmark/hpcg/blob/master/INSTALL +#TODO not compiled or tested [source] git = "https://github.com/hpcg-benchmark/hpcg" +shallow_clone = true [build] -template = "custom" +template = "cmake" diff --git a/recipes/wip/bench/hpc/minibude/recipe.toml b/recipes/wip/bench/hpc/minibude/recipe.toml index b641cd416..b63b712dc 100644 --- a/recipes/wip/bench/hpc/minibude/recipe.toml +++ b/recipes/wip/bench/hpc/minibude/recipe.toml @@ -1,5 +1,6 @@ -#TODO missing script for "make", see https://github.com/UoB-HPC/miniBUDE#building +#TODO missing script for gnu make: https://github.com/UoB-HPC/miniBUDE#building [source] git = "https://github.com/UoB-HPC/miniBUDE" +shallow_clone = true [build] template = "custom" diff --git a/recipes/wip/bench/hyperfine/recipe.toml b/recipes/wip/bench/hyperfine/recipe.toml index a51d22b58..4b963663f 100644 --- a/recipes/wip/bench/hyperfine/recipe.toml +++ b/recipes/wip/bench/hyperfine/recipe.toml @@ -1,5 +1,6 @@ #TODO libc::RUSAGE_CHILDREN [source] git = "https://github.com/sharkdp/hyperfine" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/bench/io/blogbench/recipe.toml b/recipes/wip/bench/io/blogbench/recipe.toml index b6c2aff2f..5bf1657a8 100644 --- a/recipes/wip/bench/io/blogbench/recipe.toml +++ b/recipes/wip/bench/io/blogbench/recipe.toml @@ -1,5 +1,10 @@ -#TODO missing script for building, see https://github.com/jedisct1/Blogbench#readme +#TODO not compiled or tested +# 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" +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" [build] -template = "custom" +template = "configure" diff --git a/recipes/wip/bench/io/fio/recipe.toml b/recipes/wip/bench/io/fio/recipe.toml index 80c3bd768..eb41050c4 100644 --- a/recipes/wip/bench/io/fio/recipe.toml +++ b/recipes/wip/bench/io/fio/recipe.toml @@ -1,6 +1,7 @@ #TODO configuration problem [source] git = "https://github.com/axboe/fio" -rev = "624e263f6acb1563471a83601ce19dfb77ac5694" +rev = "fio-3.41" +shallow_clone = true [build] template = "configure" diff --git a/recipes/wip/bench/io/simple-disk-benchmark/recipe.toml b/recipes/wip/bench/io/simple-disk-benchmark/recipe.toml index 64101a1eb..4fe40d717 100644 --- a/recipes/wip/bench/io/simple-disk-benchmark/recipe.toml +++ b/recipes/wip/bench/io/simple-disk-benchmark/recipe.toml @@ -1,5 +1,6 @@ #TODO source code error [source] git = "https://github.com/schwa/simple-disk-benchmark-rs" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/bench/rodinia/recipe.toml b/recipes/wip/bench/rodinia/recipe.toml index ae1b0752d..460e2dfd2 100644 --- a/recipes/wip/bench/rodinia/recipe.toml +++ b/recipes/wip/bench/rodinia/recipe.toml @@ -1,5 +1,5 @@ -#TODO missing script for building, lacking build instructions +#TODO missing script for gnu make, build the openmp (cpu backend?) or opencl implementation [source] -tar = "http://www.cs.virginia.edu/~skadron/lava/Rodinia/Packages/rodinia_3.1.tar.bz2" +tar = "http://www.cs.virginia.edu/~skadron/lava/rodinia/Packages/rodinia_3.1.tar.bz2" [build] template = "custom" diff --git a/recipes/wip/bench/rpc-perf/recipe.toml b/recipes/wip/bench/rpc-perf/recipe.toml index be0a4045b..85678820c 100644 --- a/recipes/wip/bench/rpc-perf/recipe.toml +++ b/recipes/wip/bench/rpc-perf/recipe.toml @@ -1,6 +1,7 @@ -#TODO make zstd work +#TODO not compiled or tested [source] git = "https://github.com/iopsystems/rpc-perf" +shallow_clone = true [build] template = "cargo" dependencies = [ diff --git a/recipes/wip/bench/stress-ng/recipe.toml b/recipes/wip/bench/stress-ng/recipe.toml index 18e673540..eba47cd9c 100644 --- a/recipes/wip/bench/stress-ng/recipe.toml +++ b/recipes/wip/bench/stress-ng/recipe.toml @@ -1,20 +1,21 @@ -#TODO missing script for "make", see https://github.com/ColinIanKing/stress-ng#building-stress-ng -#TODO missing dependencies +#TODO missing script for gnu make: https://github.com/ColinIanKing/stress-ng#building-stress-ng +#TODO determine minimum dependencies [source] git = "https://github.com/ColinIanKing/stress-ng" -rev = "8c39f5a2d9b199189456f414afd9e536dae69d1b" +rev = "V0.20.00" +shallow_clone = true [build] template = "custom" -dependencies = [ - "libbsd", - "libaio", - "libcap", - "libcap", - "libgcrypt", - "libjpeg", - "libmd", - "libmpfr", - "xxhash", - "zlib", - "mesa", -] +#dependencies = [ +# "libbsd", +# "libaio", +# "libcap", +# "libcap", +# "libgcrypt", +# "libjpeg", +# "libmd", +# "libmpfr", +# "xxhash", +# "zlib", +# "mesa", +#] diff --git a/recipes/wip/bench/suite/phoronix-test-suite/recipe.toml b/recipes/wip/bench/suite/phoronix-test-suite/recipe.toml index 19495073d..caa72ed1f 100644 --- a/recipes/wip/bench/suite/phoronix-test-suite/recipe.toml +++ b/recipes/wip/bench/suite/phoronix-test-suite/recipe.toml @@ -1,5 +1,10 @@ #TODO figure out the installation script - https://github.com/phoronix-test-suite/phoronix-test-suite [source] -tar = "https://phoronix-test-suite.com/releases/phoronix-test-suite-10.8.4.tar.gz" +git = "https://github.com/phoronix-test-suite/phoronix-test-suite" +shallow_clone = true [build] template = "custom" +script = """ +mkdir -pv "${COOKBOOK_STAGE}/home/user/pts" +cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/pts" +"""