|
|
@ -32,6 +32,9 @@ else
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
ls ./git_clones
|
|
|
|
ls ./git_clones
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ "$PROJECT" == "release" ]]; then
|
|
|
|
|
|
|
|
echo "release project is never cached."
|
|
|
|
|
|
|
|
else
|
|
|
|
echo "Checking if project is cached..."
|
|
|
|
echo "Checking if project is cached..."
|
|
|
|
OUTDIR="$(./rbm/rbm showconf $PROJECT output_dir --target $CHANNEL --target ncdns-$OS-$ARCH)"
|
|
|
|
OUTDIR="$(./rbm/rbm showconf $PROJECT output_dir --target $CHANNEL --target ncdns-$OS-$ARCH)"
|
|
|
|
OUTFILE="$(./rbm/rbm showconf $PROJECT filename --target $CHANNEL --target ncdns-$OS-$ARCH)"
|
|
|
|
OUTFILE="$(./rbm/rbm showconf $PROJECT filename --target $CHANNEL --target ncdns-$OS-$ARCH)"
|
|
|
@ -41,6 +44,7 @@ if [[ -e "$OUTDIR/$OUTFILE" ]]; then
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "Project cache miss, proceeding with build."
|
|
|
|
echo "Project cache miss, proceeding with build."
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# VM has 12 GB of free RAM. Assuming each of the 4 logical cores takes 1 GB
|
|
|
|
# VM has 12 GB of free RAM. Assuming each of the 4 logical cores takes 1 GB
|
|
|
|
# during build, that leaves us with 8 GB of unutilized RAM. Alas, I'm not sure
|
|
|
|
# during build, that leaves us with 8 GB of unutilized RAM. Alas, I'm not sure
|
|
|
|