Browse Source

Merge pull request #22 from ethereum-mining/limit-curl-deps

Travis CI: Remove libldap dependency
cl-refactor
Paweł Bylica 8 years ago
committed by GitHub
parent
commit
0177fde7bd
  1. 2
      .travis.yml
  2. 1
      CMakeLists.txt
  3. 1
      cmake/Hunter/config.cmake
  4. 2
      scripts/install-cuda-trusty.sh

2
.travis.yml

@ -22,5 +22,5 @@ script:
- cmake --build build
- build/ethminer/ethminer --list-devices -G
- build/ethminer/ethminer --list-devices -U
- if [ "$TRAVIS_OS_NAME" = linux ]; then ldd build/ethminer/ethminer; fi
- if [ "$TRAVIS_OS_NAME" = linux ]; then ldd -v build/ethminer/ethminer; fi
- if [ "$TRAVIS_OS_NAME" = osx ]; then otool -L build/ethminer/ethminer; fi

1
CMakeLists.txt

@ -10,6 +10,7 @@ include(HunterGate)
HunterGate(
URL "https://github.com/ruslo/hunter/archive/v0.18.46.tar.gz"
SHA1 "e368cbf2a98cf8b8fa7a379fde74eca8ded425e3"
LOCAL
)

1
cmake/Hunter/config.cmake

@ -0,0 +1 @@
hunter_config(CURL VERSION ${HUNTER_CURL_VERSION} CMAKE_ARGS HTTP_ONLY=ON)

2
scripts/install-cuda-trusty.sh

@ -14,7 +14,7 @@ travis_retry sudo dpkg -i cuda-repo-ubuntu1404_${CUDA_VER}_amd64.deb
travis_retry sudo apt-get update -qq
export CUDA_APT=${CUDA_VER:0:3}
export CUDA_APT=${CUDA_APT/./-}
travis_retry sudo apt-get install -y cuda-drivers cuda-core-${CUDA_APT} cuda-cudart-dev-${CUDA_APT} cuda-cufft-dev-${CUDA_APT}
travis_retry sudo apt-get install -qy cuda-drivers cuda-core-${CUDA_APT} cuda-cudart-dev-${CUDA_APT}
travis_retry sudo apt-get clean
export CUDA_HOME=/usr/local/cuda-${CUDA_VER:0:3}
export PATH=${CUDA_HOME}/bin:${PATH}

Loading…
Cancel
Save