Add checks for proper yasm installed - fixes #163

master
Harshavardhana 10 years ago
parent ed7e58235d
commit c97ed4f0a4
  1. 8
      README.md
  2. 9
      checkdeps.sh

@ -15,6 +15,14 @@ Minio's design is inspired by Amazon's S3 for its API and Facebook's Haystack fo
| Windows | Not yet |
| Mac OSX | Not yet |
### Supported architectures
| Arch | Supported |
| ------------- | ------------- |
| x86_64 | Yes |
| arm64 | Not yet|
| i686 | Never |
### Join Community
* A quick chat? [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Minio-io/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
* Have questions? [![Quora](http://upload.wikimedia.org/wikipedia/commons/thumb/5/57/Quora_logo.svg/55px-Quora_logo.svg.png)](http://www.quora.com/Minio)

@ -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"

Loading…
Cancel
Save