redox/recipes/relibc-tests/recipe.sh
2019-04-28 19:32:47 -06:00

14 lines
294 B
Bash

GIT=https://gitlab.redox-os.org/redox-os/relibc.git
function recipe_build {
make CARGO=xargo NATIVE_RELIBC=1 -C tests -j"$(nproc)"
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
mkdir -pv "$dest/share/relibc"
cp -rv "tests" "$dest/share/relibc/tests"
skip=1
}