File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 44FROM docker.io/library/fedora:37 as build
55
66ARG TAG=v23.01
7+ # Pick an arch that has at least sse 4.2 but does not require newer avx
8+ # See https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
9+ ARG ARCH=generic
710
811WORKDIR /root
912RUN dnf install -y git rpm-build diffutils procps-ng pip python3-grpcio python3-grpcio-tools && dnf clean all
@@ -12,16 +15,8 @@ RUN dnf install -y git rpm-build diffutils procps-ng pip python3-grpcio python3-
1215RUN git clone https://github.com/spdk/spdk --branch ${TAG} --depth 1 && \
1316 cd spdk && git submodule update --init --depth 1 && scripts/pkgdep.sh --rdma
1417
15- # Pick an arch that has at least sse 4.2 but does not require newer avx
16- # See https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
17-
1818# hadolint ignore=DL3003
19- RUN if [ "$(uname -m)" = "aarch64" ]; then \
20- ARCH="generic" ; \
21- elif [ "$(uname -m)" = "x86_64" ]; then \
22- ARCH="x86-64-v2" ; \
23- fi; \
24- cd spdk && DEPS="no" LDFLAGS=" " ./rpmbuild/rpm.sh --target-arch=${ARCH} --without-uring --with-crypto \
19+ RUN cd spdk && DEPS="no" LDFLAGS=" " ./rpmbuild/rpm.sh --target-arch=${ARCH} --without-uring --with-crypto \
2520 --without-fio --with-raid5f --with-vhost --without-pmdk --without-rbd \
2621 --with-rdma --without-shared --with-iscsi-initiator --without-vtune --with-vfio-user
2722
You can’t perform that action at this time.
0 commit comments