mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 18:25:27 +00:00
Speed up qemu clone with multiple submodules in parallel
This commit is contained in:
parent
e5c82e7465
commit
65b3a97379
@ -223,9 +223,9 @@ echo -e "Installing/Updating QEMU"
|
|||||||
echo -e "*************************************************************************"
|
echo -e "*************************************************************************"
|
||||||
echo -e "*************************************************************************\n${ENDC}"
|
echo -e "*************************************************************************\n${ENDC}"
|
||||||
cd "$RISCV"
|
cd "$RISCV"
|
||||||
if [[ ((! -e qemu) && ($(git clone --recurse-submodules https://github.com/qemu/qemu) || true)) || ($(cd qemu; git fetch; git rev-parse HEAD) != $(cd qemu; git rev-parse origin/master)) || (! -e $RISCV/include/qemu-plugin.h) ]]; then
|
if [[ ((! -e qemu) && ($(git clone --recurse-submodules -j ${NUM_THREADS} https://github.com/qemu/qemu) || true)) || ($(cd qemu; git fetch; git rev-parse HEAD) != $(cd qemu; git rev-parse origin/master)) || (! -e $RISCV/include/qemu-plugin.h) ]]; then
|
||||||
cd qemu
|
cd qemu
|
||||||
git reset --hard && git clean -f && git checkout master && git pull --recurse-submodules
|
git reset --hard && git clean -f && git checkout master && git pull --recurse-submodules -j ${NUM_THREADS}
|
||||||
./configure --target-list=riscv64-softmmu --prefix="$RISCV"
|
./configure --target-list=riscv64-softmmu --prefix="$RISCV"
|
||||||
make -j ${NUM_THREADS}
|
make -j ${NUM_THREADS}
|
||||||
make install
|
make install
|
||||||
|
Loading…
Reference in New Issue
Block a user