From 16560c896343dac8f71dfa93e0e6474b3b86763c Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 8 Mar 2018 07:56:57 +0000 Subject: [PATCH] configure add optional parsec install --- README.adoc | 2 +- configure | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index df4f9d1..1c6e21a 100644 --- a/README.adoc +++ b/README.adoc @@ -1847,7 +1847,7 @@ We have ported the PARSEC benchmark http://parsec.cs.princeton.edu for cross com This repo makes it trivial to get started with it: .... -./build -a arm -g -i buildroot_config_fragment_parsec +configure -p && ./build -a arm -g -i buildroot_config_fragment_parsec ./run -a arm -g .... diff --git a/configure b/configure index bac177d..edf8e99 100755 --- a/configure +++ b/configure @@ -1,9 +1,13 @@ #!/usr/bin/env bash set -e interactive_pkgs=libsdl2-dev +submodules='buildroot linux qemu gem5/gem5' y='' -while getopts t OPT; do +while getopts pt OPT; do case "$OPT" in + p) + submodules="$submodules parsec-benchmark/parsec-benchmark" + ;; t) interactive_pkgs='' y='-y' @@ -12,7 +16,6 @@ while getopts t OPT; do done shift $(($OPTIND - 1)) -submodules='buildroot linux qemu gem5/gem5' ( set -e # Shallow cloning saves a considerable amount of time, specially because of the linux kernel.