From: Changcheng Liu Date: Thu, 22 Oct 2020 06:41:34 +0000 (+0800) Subject: install-deps.sh: install nasm for isa-l library X-Git-Tag: v16.1.0~720^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a944232ad40a852fcdbf3ecf72e0d45032d76c3b;p=ceph.git install-deps.sh: install nasm for isa-l library nasm support build isa-l:AVX512 algorithm implementation while yasm doens't support it. Install nasm assembler to build isa-l refer to: https://github.com/yasm/yasm/issues/101 Signed-off-by: Changcheng Liu --- diff --git a/ceph.spec.in b/ceph.spec.in index e1c89727a5cd..c0fcfb5edffa 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -179,6 +179,7 @@ BuildRequires: xfsprogs BuildRequires: xfsprogs-devel BuildRequires: xmlstarlet BuildRequires: yasm +BuildRequires: nasm %if 0%{with amqp_endpoint} BuildRequires: librabbitmq-devel %endif diff --git a/debian/control b/debian/control index 1faf4de2171f..37633e9016cf 100644 --- a/debian/control +++ b/debian/control @@ -97,6 +97,7 @@ Build-Depends: cmake (>= 3.10.2), # Make-Check xfsprogs, # Make-Check xmlstarlet, yasm [amd64], + nasm [amd64], zlib1g-dev, Standards-Version: 4.4.0 diff --git a/install-deps.sh b/install-deps.sh index efabc3580e83..c3a1b6a6b879 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -222,6 +222,7 @@ if [ x$(uname)x = xFreeBSDx ]; then devel/gmake \ devel/cmake \ devel/yasm \ + devel/nasm \ devel/boost-all \ devel/boost-python-libs \ devel/valgrind \