mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
Add checks for proper yasm installed - fixes #163
This commit is contained in:
@@ -36,6 +36,15 @@ if [ $? -ne 0 ]; then
|
||||
MISSING="${MISSING} build-essential"
|
||||
fi
|
||||
|
||||
env yasm --version > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
MISSING="${MISSING} yasm"
|
||||
fi
|
||||
|
||||
if ! yasm -f elf64 -i isal/include isal/src/gf-vect-dot-prod-avx2.asm -o /dev/null 2>/dev/null ; then
|
||||
MISSING="${MISSING} yasm(elf64 support)"
|
||||
fi
|
||||
|
||||
## If dependencies are missing, warn the user and abort
|
||||
if [ "x${MISSING}" != "x" ]; then
|
||||
echo "ERROR"
|
||||
|
||||
Reference in New Issue
Block a user