Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
  • Loading branch information
glimchb committed Feb 27, 2023
1 parent f17330e commit 84d4001
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
FROM docker.io/library/fedora:37 as build

ARG TAG=v23.01
# Pick an arch that has at least sse 4.2 but does not require newer avx
# See https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
ARG ARCH=native

WORKDIR /root
RUN dnf install -y git rpm-build diffutils procps-ng pip python3-grpcio python3-grpcio-tools && dnf clean all
Expand All @@ -12,16 +15,8 @@ RUN dnf install -y git rpm-build diffutils procps-ng pip python3-grpcio python3-
RUN git clone https://github.com/spdk/spdk --branch ${TAG} --depth 1 && \
cd spdk && git submodule update --init --depth 1 && scripts/pkgdep.sh --rdma

# Pick an arch that has at least sse 4.2 but does not require newer avx
# See https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html

# hadolint ignore=DL3003
RUN if [ "$(uname -m)" = "aarch64" ]; then \
ARCH="generic"; \
elif [ "$(uname -m)" = "x86_64" ]; then \
ARCH="x86-64-v2"; \
fi; \
cd spdk && DEPS="no" LDFLAGS=" " ./rpmbuild/rpm.sh --target-arch=${ARCH} --without-uring --with-crypto \
RUN cd spdk && DEPS="no" LDFLAGS=" " ./rpmbuild/rpm.sh --target-arch=${ARCH} --without-uring --with-crypto \
--without-fio --with-raid5f --with-vhost --without-pmdk --without-rbd \
--with-rdma --without-shared --with-iscsi-initiator --without-vtune --with-vfio-user

Expand Down

0 comments on commit 84d4001

Please sign in to comment.