Merge pull request #164 from harshavardhana/pr_out_add_checks_for_proper_yasm_installed_fixes_163

This commit is contained in:
Harshavardhana 2015-01-06 15:30:33 -08:00
commit d58f68ccaa
2 changed files with 17 additions and 0 deletions

View File

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

View File

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