This repository was archived by the owner on Apr 24, 2022. It is now read-only.
File tree 2 files changed +16
-13
lines changed
2 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -23,24 +23,27 @@ cache:
23
23
directories :
24
24
- $HOME/.local
25
25
before_install : |
26
- if [ "$CUDA" = ON ]; then
27
- . scripts/install-cuda-ubuntu1604.sh
28
- fi
29
26
if [ "$TRAVIS_OS_NAME" = linux ]; then
27
+ sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
28
+ sudo apt-get -q update
29
+ sudo apt-get -qy install g++-7
30
30
scripts/install_cmake.sh
31
+ . scripts/install-cuda-ubuntu1604.sh
31
32
pyenv global 3.6
32
33
pip install --user requests gitpython
34
+ export CC=gcc-7
35
+ export CXX=g++-7
33
36
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
34
37
HOMEBREW_NO_AUTO_UPDATE=1 brew install -q python3
35
38
pip3 install -q requests gitpython
36
39
fi
37
- script :
38
- - cmake -DHUNTER_JOBS_NUMBER=4 -DETHASHCUDA=$CUDA -DETHASHCL=ON -DAPICORE=ON -H. -Bbuild
39
- - cmake --build build --target package -- -j4
40
- - build/ethminer/ethminer --list-devices -G
41
- - build/ethminer/ethminer --list-devices -U
42
- - if [ "$TRAVIS_OS_NAME" = linux ]; then ldd -v build/ethminer/ethminer; fi
43
- - if [ "$TRAVIS_OS_NAME" = osx ]; then otool -L build/ethminer/ethminer; fi
40
+ script : |
41
+ cmake -DHUNTER_JOBS_NUMBER=4 -DETHASHCUDA=$CUDA -DETHASHCL=ON -DAPICORE=ON -H. -Bbuild
42
+ cmake --build build --target package -- -j4
43
+ build/ethminer/ethminer --list-devices -G
44
+ build/ethminer/ethminer --list-devices -U
45
+ if [ "$TRAVIS_OS_NAME" = linux ]; then ldd -v build/ethminer/ethminer; fi
46
+ if [ "$TRAVIS_OS_NAME" = osx ]; then otool -L build/ethminer/ethminer; fi
44
47
45
48
deploy :
46
49
- provider : releases
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
#
3
- # Install the core CUDA_VER toolkit for a ubuntu-trusty (14 .04) system. Requires the
4
- # CUDA_VER environment variable to be set to the required version.
3
+ # Install the core CUDA_VER toolkit for Ubuntu 16 .04.
4
+ # Requires the CUDA_VER environment variable to be set to the required version.
5
5
#
6
6
# Since this script updates environment variables, to execute correctly you must
7
7
# 'source' this script, rather than executing it in a sub-process.
10
10
11
11
set -e
12
12
13
- export CUDA_VER=9.0.176 -1
13
+ export CUDA_VER=9.2.88 -1
14
14
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
15
15
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_${CUDA_VER} _amd64.deb
16
16
sudo dpkg -i cuda-repo-ubuntu1604_${CUDA_VER} _amd64.deb
You can’t perform that action at this time.
0 commit comments