From ce3f02dc00e13ccd0a3929282231c7e0116be4b5 Mon Sep 17 00:00:00 2001 From: tgrogers Date: Mon, 13 Jul 2020 23:22:16 -0400 Subject: Don't build the apps - because we need this ancient gcc for the 4.2 stuff. Just use the prebuilt apps that already exist on the docker image. --- .travis.yml | 4 ++++ travis.sh | 11 +++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2a53f4d..2c75e69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,16 +13,19 @@ matrix: - CONFIG=GTX480 - CUDA_INSTALL_PATH=/usr/local/cuda-4.2/ - PTXAS_CUDA_INSTALL_PATH=/usr/local/cuda-4.2/ + - GPUAPPS_ROOT=/home/runner/gpgpu-sim_simulations/benchmarks - services: docker env: - CONFIG=TITANV - CUDA_INSTALL_PATH=/usr/local/cuda-9.1/ - PTXAS_CUDA_INSTALL_PATH=/usr/local/cuda-9.1/ + - GPUAPPS_ROOT=/home/runner/gpgpu-sim_simulations/benchmarks - services: docker env: - CONFIG=TITANV-LOCALXBAR - CUDA_INSTALL_PATH=/usr/local/cuda-9.1/ - PTXAS_CUDA_INSTALL_PATH=/usr/local/cuda-9.1/ + - GPUAPPS_ROOT=/home/runner/gpgpu-sim_simulations/benchmarks script: - > @@ -30,5 +33,6 @@ script: --env CONFIG=$CONFIG --env PTXAS_CUDA_INSTALL_PATH=$PTXAS_CUDA_INSTALL_PATH --env CUDA_INSTALL_PATH=$CUDA_INSTALL_PATH + --env GPUAPPS_ROOT=$GPUAPPS_ROOT -v `pwd`:/gpgpu-sim:rw tgrogers/gpgpu-sim_regress:volta_update /bin/bash travis.sh diff --git a/travis.sh b/travis.sh index 2fa8200..bbdd19a 100755 --- a/travis.sh +++ b/travis.sh @@ -8,16 +8,15 @@ if [ ! -n "$CONFIG" ]; then exit; fi +if [ ! -n "$GPUAPPS_ROOT" ]; then + echo "ERROR ** GPUAPPS_ROOT to a location where the apps have been compiled"; + exit; +fi + export PATH=$CUDA_INSTALL_PATH/bin:$PATH source ./setup_environment make -j -rm -rf gpu-app-collection -git clone https://github.com/accel-sim/gpu-app-collection.git -source gpu-app-collection/src/setup_environment -make rodinia_2.0-ft -j -C gpu-app-collection/src -./gpu-app-collection/get_regression_data.sh - pip install psutil rm -rf accel-sim-framework git clone https://github.com/accel-sim/accel-sim-framework.git -- cgit v1.3