Lines Matching +full:- +full:- +full:workdir
10 test -r "$config" || die "usage: fate.sh <config>"
12 workdir=$(cd $(dirname $config) && pwd)
18 test -n "$slot" || die "slot not specified"
19 test -n "$repo" || die "repo not specified"
20 test -d "$samples" || die "samples location not specified"
26 (set -C; exec >$lock) 2>/dev/null || return
33 git:*) git clone --quiet --branch "$branch" "$repo" "$src" ;;
40 git:*) git fetch --quiet --force && git reset --quiet --hard "origin/$branch" ;;
47 --prefix="${inst}" \
48 --samples="${samples}" \
49 --enable-gpl \
50 --enable-memory-poisoning \
51 --enable-avresample \
52 ${ignore_tests:+--ignore-tests="$ignore_tests"} \
53 ${arch:+--arch=$arch} \
54 ${cpu:+--cpu="$cpu"} \
55 ${toolchain:+--toolchain="$toolchain"} \
56 ${cross_prefix:+--cross-prefix="$cross_prefix"} \
57 ${as:+--as="$as"} \
58 ${cc:+--cc="$cc"} \
59 ${ld:+--ld="$ld"} \
60 ${target_os:+--target-os="$target_os"} \
61 ${sysroot:+--sysroot="$sysroot"} \
62 ${target_exec:+--target-exec="$target_exec"} \
63 ${target_path:+--target-path="$target_path"} \
64 ${target_samples:+--target-samples="$target_samples"} \
65 ${extra_cflags:+--extra-cflags="$extra_cflags"} \
66 ${extra_ldflags:+--extra-ldflags="$extra_ldflags"} \
67 ${extra_libs:+--extra-libs="$extra_libs"} \
79 ${make} ${makeopts_fate-${makeopts}} -k fate
83 rm -rf ${build} ${inst}
87 date=$(date -u +%Y%m%d%H%M%S)
91 test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv
100 mkdir -p ${workdir} || die "Error creating ${workdir}"
101 lock ${workdir} || die "${workdir} locked"
102 cd ${workdir} || die "cd ${workdir} failed"
104 src=${workdir}/src
105 : ${build:=${workdir}/build}
106 : ${inst:=${workdir}/install}
108 test -d "$src" && update || checkout || die "Error fetching source"
110 cd ${workdir}
113 test "$version" = "$(cat version-$slot 2>/dev/null)" && exit 0
114 echo ${version} >version-$slot
116 rm -rf "${build}" *.log
117 mkdir -p ${build}