diff options
Diffstat (limited to 'tests/scripts/perf-prep.sh')
-rwxr-xr-x | tests/scripts/perf-prep.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/scripts/perf-prep.sh b/tests/scripts/perf-prep.sh index cd37a55543..08db69b5f5 100755 --- a/tests/scripts/perf-prep.sh +++ b/tests/scripts/perf-prep.sh @@ -41,6 +41,9 @@ do --nocorefx) nocorefx=1 ;; + --arch=*) + perfArch=${i#*=} + ;; *) echo "Unknown switch: $i" print_usage @@ -67,8 +70,13 @@ if [ ! -d "./tests/scripts/Microsoft.Benchview.JSONFormat" ]; then fi # Install python 3.5.2 to run machinedata.py for machine data collection -python3 --version -python3 ./tests/scripts/Microsoft.BenchView.JSONFormat/tools/machinedata.py +if [ $perfArch == "arm" ]; then + python3.6 --version + python3.6 ./tests/scripts/Microsoft.BenchView.JSONFormat/tools/machinedata.py --machine-manufacturer NVIDIA +else + python3 --version + python3 ./tests/scripts/Microsoft.BenchView.JSONFormat/tools/machinedata.py +fi if [ $throughput -eq 1 ]; then # Download throughput benchmarks |