1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-21 14:12:52 -05:00

Better scripts/build.*.sh compatibility.

This commit is contained in:
XMRig
2020-08-23 15:46:56 +07:00
parent 879e160ba3
commit 4b682b6633
8 changed files with 33 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ tar -xzf hwloc-${HWLOC_VERSION}.tar.gz
cd hwloc-${HWLOC_VERSION}
./configure --disable-shared --enable-static --disable-io --disable-libudev --disable-libxml2
make -j$(nproc)
cp -fr include/ ../../deps
make -j$(nproc || sysctl -n hw.ncpu || sysctl -n hw.logicalcpu)
cp -fr include ../../deps
cp hwloc/.libs/libhwloc.a ../../deps/lib
cd ..