Commit ad5cc98c authored by peastman's avatar peastman Committed by GitHub
Browse files

Merge pull request #1842 from peastman/gl

Fixed compilation error on travis
parents 5d0dfb10 1d448f25
...@@ -128,6 +128,7 @@ before_install: ...@@ -128,6 +128,7 @@ before_install:
export LD_LIBRARY_PATH=${AMDAPPSDK}/lib/x86_64:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH=${AMDAPPSDK}/lib/x86_64:${LD_LIBRARY_PATH};
chmod +x ${AMDAPPSDK}/bin/x86_64/clinfo; chmod +x ${AMDAPPSDK}/bin/x86_64/clinfo;
${AMDAPPSDK}/bin/x86_64/clinfo; ${AMDAPPSDK}/bin/x86_64/clinfo;
sudo apt-get install -y libgl1-mesa-dev;
fi fi
# Install swig for Python wrappers. However, testing CUDA and OpenCL, we # Install swig for Python wrappers. However, testing CUDA and OpenCL, we
# skip the Python wrapper for speed. We're not using anaconda python, # skip the Python wrapper for speed. We're not using anaconda python,
...@@ -159,6 +160,7 @@ before_install: ...@@ -159,6 +160,7 @@ before_install:
export CUDA_HOME=/usr/local/cuda-${CUDA_VERSION%%-*}; export CUDA_HOME=/usr/local/cuda-${CUDA_VERSION%%-*};
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH};
export PATH=${CUDA_HOME}/bin:${PATH}; export PATH=${CUDA_HOME}/bin:${PATH};
sudo apt-get install -y libgl1-mesa-dev;
fi fi
script: script:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment