Explicit directories just in case. Remove killall since we already found ethminer is not present.

This commit is contained in:
Hyperling 2021-02-11 20:25:21 -06:00
parent 5b8e933af6
commit 93bbc49749

View File

@ -37,28 +37,23 @@
## Install #
- 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
- 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
- name: Ethminer | Create Build Folder
shell: 'cd ethminer; mkdir -p build'
shell: 'cd /home/mfn/ethminer; mkdir -p build'
when: ethminer_install.failed
- 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
- name: Ethminer | cmake Build
shell: 'cd ethminer/build; cmake --build .'
when: ethminer_install.failed
- name: Ethminer | Kill Current Jobs
shell: 'killall ethminer.sh'
become: true
shell: 'cd /home/mfn/ethminer/build; cmake --build .'
when: ethminer_install.failed
- name: Ethminer | make install