Browse Source

static build of hwloc

master
Joja Poppa 2 years ago
parent
commit
37f55753e1
3 changed files with 12 additions and 0 deletions
  1. +2
    -0
      .gitignore
  2. +10
    -0
      howtoMakeHwLoc.sh
  3. +0
    -0
      oldmakexmr.sh

+ 2
- 0
.gitignore View File

@@ -1,3 +1,5 @@
hwloc-2.1.0.tar.bz2
hwloc-2.1.0/
bin/
obj/
build/


+ 10
- 0
howtoMakeHwLoc.sh View File

@@ -0,0 +1,10 @@
curl -O https://download.open-mpi.org/release/hwloc/v2.1/hwloc-2.1.0.tar.bz2
tar xjf hwloc-2.1.0.tar.bz2
cd hwloc-2.1.0
./configure --disable-shared --enable-static --disable-io --disable-libxml2
make -j$(sysctl -n hw.logicalcpu)
cd ../build
make clean
cmake .. -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 -DHWLOC_INCLUDE_DIR=../hwloc-2.1.0/include -DHWLOC_LIBRARY=../hwloc-2.1.0/hwloc/.libs/libhwloc.a
make -j$(sysctl -n hw.logicalcpu)


makexmr.sh → oldmakexmr.sh View File


Loading…
Cancel
Save