From c97ed4f0a400fe033af85e925c39580b7de3d303 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 6 Jan 2015 15:30:02 -0800 Subject: [PATCH] Add checks for proper yasm installed - fixes #163 --- README.md | 8 ++++++++ checkdeps.sh | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/README.md b/README.md index 80fa5a6c7..15347ffde 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/checkdeps.sh b/checkdeps.sh index 2c6a71b4b..39b7d5d7b 100755 --- a/checkdeps.sh +++ b/checkdeps.sh @@ -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"