summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortgrogers <[email protected]>2020-07-13 23:22:16 -0400
committertgrogers <[email protected]>2020-07-13 23:22:16 -0400
commitce3f02dc00e13ccd0a3929282231c7e0116be4b5 (patch)
tree6f2fcdc6f82f09b2469bd4e21a9c17504b5be01a
parent82c20da170e7f64f8656007a7497491e219a74f9 (diff)
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.
-rw-r--r--.travis.yml4
-rwxr-xr-xtravis.sh11
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