Explicit directories just in case. Remove killall since we already found ethminer is not present.
This commit is contained in:
parent
5b8e933af6
commit
93bbc49749
@ -37,28 +37,23 @@
|
|||||||
|
|
||||||
## Install #
|
## Install #
|
||||||
- name: Ethminer | Clone Git Repo
|
- name: Ethminer | Clone Git Repo
|
||||||
shell: 'git clone https://github.com/ethereum-mining/ethminer.git'
|
shell: 'cd /home/mfn; git clone https://github.com/ethereum-mining/ethminer.git'
|
||||||
when: ethminer_install.failed
|
when: ethminer_install.failed
|
||||||
|
|
||||||
- name: Ethminer | Update Repo's Repos
|
- name: Ethminer | Update Repo's Repos
|
||||||
shell: 'cd ethminer; git submodule update --init --recursive'
|
shell: 'cd /home/mfn/ethminer; git submodule update --init --recursive'
|
||||||
when: ethminer_install.failed
|
when: ethminer_install.failed
|
||||||
|
|
||||||
- name: Ethminer | Create Build Folder
|
- name: Ethminer | Create Build Folder
|
||||||
shell: 'cd ethminer; mkdir -p build'
|
shell: 'cd /home/mfn/ethminer; mkdir -p build'
|
||||||
when: ethminer_install.failed
|
when: ethminer_install.failed
|
||||||
|
|
||||||
- name: Ethminer | cmake Flags
|
- name: Ethminer | cmake Flags
|
||||||
shell: 'cd ethminer/build; cmake .. -DETHASHCL=ON -DETHASHCUDA=OFF -DAPICORE=ON -DBINKERN=ON -DETHDBUS=ON -DUSE_SYS_OPENCL=ON -ETHASHCPU=ON -DEVBUILD=ON'
|
shell: 'cd /home/mfn/ethminer/build; cmake .. -DETHASHCL=ON -DETHASHCUDA=OFF -DAPICORE=ON -DBINKERN=ON -DETHDBUS=ON -DUSE_SYS_OPENCL=ON -ETHASHCPU=ON -DEVBUILD=ON'
|
||||||
when: ethminer_install.failed
|
when: ethminer_install.failed
|
||||||
|
|
||||||
- name: Ethminer | cmake Build
|
- name: Ethminer | cmake Build
|
||||||
shell: 'cd ethminer/build; cmake --build .'
|
shell: 'cd /home/mfn/ethminer/build; cmake --build .'
|
||||||
when: ethminer_install.failed
|
|
||||||
|
|
||||||
- name: Ethminer | Kill Current Jobs
|
|
||||||
shell: 'killall ethminer.sh'
|
|
||||||
become: true
|
|
||||||
when: ethminer_install.failed
|
when: ethminer_install.failed
|
||||||
|
|
||||||
- name: Ethminer | make install
|
- name: Ethminer | make install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user