Browse Source

update & fix everything

Your Name 6 years ago
parent
commit
97213d77d7
3 changed files with 10 additions and 8 deletions
  1. 3 3
      setup_amd.sh
  2. 5 4
      setup_cpu.sh
  3. 2 1
      setup_nvidia.sh

+ 3 - 3
setup_amd.sh

@@ -324,9 +324,10 @@ if [ $XMR_STAK = "YES" ]
 then
 echo -e "\n\e[95mInstall xmr-stak:\e[0m"
 cd /tmp/
-wget https://www.open-mpi.org/software/hwloc/v1.11/downloads/hwloc-1.11.8.tar.gz
-tar xzvf hwloc-1.11.8.tar.gz
+wget http://wareck.free.fr/grinder/hwloc-1.11.8.tar.xz
+tar xvfJ hwloc-1.11.8.tar.xz
 cd hwloc-1.11.8
+./autogen.sh
 ./configure --prefix=/usr/local
 make -j $(nproc)
 sudo make install
@@ -347,7 +348,6 @@ cd ~
 echo "Done"
 fi
 
-
 echo -e "\n\e[95mDownloading NoFees Patch:\e[0m"
 cd ~
 if [ -d remove_miner_fees ]

+ 5 - 4
setup_cpu.sh

@@ -72,13 +72,14 @@ echo -e "\n\e[95mBuild xmr-stak-cpu:\e[0m"
 cd /tmp/
 if ! [ -f hwloc-1.11.8.tar.gz ]
 then
-wget https://www.open-mpi.org/software/hwloc/v1.11/downloads/hwloc-1.11.8.tar.gz
-tar xzvf hwloc-1.11.8.tar.gz
+wget http://wareck.free.fr/grinder/hwloc-1.11.8.tar.xz
+tar xvfJ hwloc-1.11.8.tar.xz
 fi
 cd hwloc-1.11.8
+./autogen.sh
 ./configure --prefix=/usr/local
-make
-sudo make install
+make -j $(nproc)
+make install
 echo ""
 cd ~
 chown -R work xmr-stak_cpu

+ 2 - 1
setup_nvidia.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 set -e
-script_version="0.2b"
+script_version="0.3b"
 rdate="11/07/2018"
 remote_folder="http://wareck.free.fr/openrig"
 cuda="9.2" # 9.2 or 8
@@ -205,6 +205,7 @@ cd /tmp/
 wget http://wareck.free.fr/grinder/hwloc-1.11.8.tar.xz
 tar xvfJ hwloc-1.11.8.tar.xz
 cd hwloc-1.11.8
+./autogen.sh
 ./configure --prefix=/usr/local
 make -j $(nproc)
 sudo make install