configure add optional parsec install

This commit is contained in:
Ciro Santilli
2018-03-08 07:56:57 +00:00
parent ad3c48dfee
commit 16560c8963
2 changed files with 6 additions and 3 deletions

View File

@@ -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
....

7
configure vendored
View File

@@ -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.