hwloc v2.5.0 > v2.7.0

This commit is contained in:
hinto.janaiyo 2022-03-12 12:31:14 -05:00
parent 87b5495f2c
commit 2667f20ab9

View file

@ -1,6 +1,7 @@
#!/bin/bash -e
HWLOC_VERSION="2.5.0"
HWLOC_VERSION="2.7.0"
HWLOC_V="v2.7"
mkdir -p deps
mkdir -p deps/include
@ -8,7 +9,7 @@ mkdir -p deps/lib
mkdir -p build && cd build
wget https://download.open-mpi.org/release/hwloc/v2.5/hwloc-${HWLOC_VERSION}.tar.gz -O hwloc-${HWLOC_VERSION}.tar.gz
wget https://download.open-mpi.org/release/hwloc/$HWLOC_V/hwloc-${HWLOC_VERSION}.tar.gz -O hwloc-${HWLOC_VERSION}.tar.gz
tar -xzf hwloc-${HWLOC_VERSION}.tar.gz
cd hwloc-${HWLOC_VERSION}
@ -16,4 +17,4 @@ cd hwloc-${HWLOC_VERSION}
make -j$(nproc || sysctl -n hw.ncpu || sysctl -n hw.logicalcpu)
cp -fr include ../../deps
cp hwloc/.libs/libhwloc.a ../../deps/lib
cd ..
cd ..