Start sketching parsec buildroot package

This commit is contained in:
Ciro Santilli
2018-03-02 08:26:38 +00:00
parent c482a682d2
commit 6e15dcb60e
12 changed files with 93 additions and 27 deletions

9
configure vendored
View File

@@ -12,19 +12,20 @@ while getopts t OPT; do
done
shift $(($OPTIND - 1))
submodules='buildroot linux qemu gem5/gem5'
(
set -e
# Shallow clonning saves a considerable ammount of time, specially because of the linux kernel.
# However, git submodules are buggy as usual, and this is the best way i've found to get it done:
# Shallow cloning saves a considerable amount of time, specially because of the linux kernel.
# However, git submodules are buggy as usual, and this is the best way I've found to get it done:
# https://stackoverflow.com/questions/2144406/git-shallow-submodules/47374702#47374702
# In particular:
# - `shallow = true` on the submodule has no effect for the non default educational branches of our submodules
# - QEMU's submodules point to commits that are neither under branches nor tags, and so `--shallow-submodules` fails
git submodule update --depth 1 --jobs 4 --init
git submodule update --depth 1 --jobs 4 --init -- $submodules
cd qemu
git submodule update --init
) &
wait $! || git submodule update --init
wait $! || git submodule update --init -- $submodules
pkgs="\
automake \