mirror of
https://github.com/minio/minio.git
synced 2025-01-25 21:53:16 -05:00
Merge pull request #166 from harshavardhana/pr_out_intel_isal_requires_yasm_version_1_2_0_with_avx2_instruction_support_document_it
This commit is contained in:
commit
c82d2b95d7
@ -7,6 +7,9 @@ $ sudo apt-get install git build-essential
|
|||||||
```
|
```
|
||||||
|
|
||||||
##### Install YASM
|
##### Install YASM
|
||||||
|
|
||||||
|
Minio depends on Intel ISAL library for erasure coding, ISAL uses Intel AVX2 processor instructions, to compile these files one needs to install ``yasm`` which supports AVX2 instructions. AVX2 support only ended in ``yasm`` from version ``1.2.0``, any version below ``1.2.0`` will throw a build error as referenced in issue [here](https://github.com/Minio-io/minio/issues/163)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ sudo apt-get install yasm
|
$ sudo apt-get install yasm
|
||||||
```
|
```
|
||||||
|
@ -42,7 +42,7 @@ if [ $? -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! yasm -f elf64 -i isal/include isal/src/gf-vect-dot-prod-avx2.asm -o /dev/null 2>/dev/null ; then
|
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)"
|
MISSING="${MISSING} yasm(1.2.0)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## If dependencies are missing, warn the user and abort
|
## If dependencies are missing, warn the user and abort
|
||||||
@ -54,7 +54,7 @@ if [ "x${MISSING}" != "x" ]; then
|
|||||||
echo "** ${MISSING} **"
|
echo "** ${MISSING} **"
|
||||||
echo
|
echo
|
||||||
echo "Please install them "
|
echo "Please install them "
|
||||||
echo "$ sudo apt-get install ${MISSING}"
|
echo "${MISSING}"
|
||||||
echo
|
echo
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user