mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 09:41:35 +00:00
On non Linux systems, (g)make distrib stops halfway
because of QEMU not supported. Symplifying cores counting data gathering.
This commit is contained in:
parent
d8fb4a8e19
commit
5f0a252fae
@ -44,7 +44,7 @@ echo "[*] Performing basic sanity checks..."
|
||||
if [ ! "`uname -s`" = "Linux" ]; then
|
||||
|
||||
echo "[-] Error: QEMU instrumentation is supported only on Linux."
|
||||
exit 1
|
||||
exit 0
|
||||
|
||||
fi
|
||||
|
||||
|
@ -73,19 +73,19 @@ if [ "$PLT" = "Linux" ]; then
|
||||
fi
|
||||
|
||||
if [ "$PLT" = "Darwin" ]; then
|
||||
CORES=`sysctl hw.ncpu | cut -d' ' -f2`
|
||||
CORES=`sysctl -n hw.ncpu`
|
||||
TARCMD=tar
|
||||
fi
|
||||
|
||||
if [ "$PLT" = "FreeBSD" ]; then
|
||||
MAKECMD=gmake
|
||||
CORES=`sysctl hw.ncpu | cut -d' ' -f2`
|
||||
CORES=`sysctl -n hw.ncpu`
|
||||
TARCMD=gtar
|
||||
fi
|
||||
|
||||
if [ "$PLT" = "NetBSD" ] || [ "$PLT" = "OpenBSD" ]; then
|
||||
MAKECMD=gmake
|
||||
CORES=`sysctl hw.ncpu | cut -d'=' -f2`
|
||||
CORES=`sysctl -n hw.ncpu`
|
||||
TARCMD=gtar
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user