diff options
author | Smasher816 | 2018-02-16 00:46:43 -0800 |
---|---|---|
committer | Smasher816 | 2018-02-16 00:46:43 -0800 |
commit | 526c32317f5d6748829829c01c31f47a885d8e10 (patch) | |
tree | cc29780e56afdc332b787d774a1e16a0f0a00041 /PKGBUILD | |
parent | a1af8c9fbcadc85bfcbb1b9a340d8ce85d8b70f5 (diff) | |
download | aur-ethminer-git.tar.gz |
Update to gcc6
Remove dependencies in place of hunter
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 7 insertions, 17 deletions
@@ -4,22 +4,12 @@ # Contributor: Andy Weidenbaum <archbaum@gmail.com> pkgname=ethminer-git -pkgver=0.12.0.0.20170716.f99ca9822 +pkgver=0.14.0.1.20180216.07f5d714e pkgrel=1 pkgdesc="Ethereum miner with CUDA and stratum support. chfast's version." arch=('i686' 'x86_64') -depends=( - 'boost' - 'crypto++' - 'cuda' - 'leveldb' - 'ocl-icd' - 'libmicrohttpd' - 'miniupnpc' - 'libjson-rpc-cpp-git' -) makedepends=( - 'gcc5' + 'gcc6' 'cmake' 'git' 'opencl-headers' @@ -61,10 +51,10 @@ build() { unset CFLAGS #march=native can break the build if set in makepkg.conf unset CXXFLAGS cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DETHASHCUDA=ON \ - -DCMAKE_C_COMPILER=/usr/bin/gcc-5 \ - -DCMAKE_CXX_COMPILER=/usr/bin/g++-5 \ - -DCMAKE_RANLIB=/usr/bin/gcc-ranlib-5 \ - -DCMAKE_AR=/usr/bin/gcc-ar-5 + -DCMAKE_C_COMPILER=/usr/bin/gcc-6 \ + -DCMAKE_CXX_COMPILER=/usr/bin/g++-6 \ + -DCMAKE_RANLIB=/usr/bin/gcc-ranlib-6 \ + -DCMAKE_AR=/usr/bin/gcc-ar-6 cmake --build . popd } @@ -73,5 +63,5 @@ package() { cd "${pkgname}/build" msg 'Installing...' - DESTDIR="${pkgdir}" cmake -P cmake_install.cmake + DESTDIR="${pkgdir}" make install } |