Mining software...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
1.2 KiB

  1. git clone https://github.com/open-mpi/hwloc
  2. # then make sure there is an empty hwloc_build folder
  3. ./configure --prefix=/Users/jojapoppa/Desktop/FEDG/fedoragold-xmr-stak/hwloc_build --disable-shared --enable-static --disable-opencl "CFLAGS=-mmacosx-version-min=10.14"
  4. make -j$(sysctl -n hw.logicalcpu)
  5. make install
  6. cd ../build
  7. make clean
  8. export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/Users/jojapoppa/Desktop/FEDG/fedoragold-xmr-stak/hwloc_build/lib"
  9. export C_INCLUDE_PATH="C_INCLUDE_PATH:/Users/jojapoppa/Desktop/FEDG/fedoragold-xmr-stak/hwloc_build/include"
  10. export CPLUS_INCLUDE_PATH="CPLUS_INCLUDE_PATH:/Users/jojapoppa/Desktop/FEDG/fedoragold-xmr-stak/hwloc_build/include"
  11. cmake .. -DCMAKE_LINK_STATIC=OFF -DXMR-STAK_COMPILE=generic -DOpenCL_ENABLE=OFF -DCUDA_ENABLE=OFF -DMICROHTTPD_ENABLE=OFF -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOpenSSL_ENABLE=OFF -DCMAKE_EXE_LINKER_FLAGS="-v /Users/jojapoppa/Desktop/FEDG/fedoragold-xmr-stak/hwloc_build/lib/libhwloc.a -lxml2 -lz -liconv" -DCMAKE_CXX_FLAGS="-mmacosx-version-min=11.1" -DCMAKE_C_FLAGS="-mmacosx-version-min=10.14"
  12. # /Users/jojapoppa/Desktop/FEDG/fedoragold-xmr-stak/build/libxml2.a -lz -liconv"
  13. make -j$(sysctl -n hw.logicalcpu)