File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 4
4
FROM docker.io/library/fedora:37 as build
5
5
6
6
ARG 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=native
7
10
8
11
WORKDIR /root
9
12
RUN 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-
12
15
RUN git clone https://github.com/spdk/spdk --branch ${TAG} --depth 1 && \
13
16
cd spdk && git submodule update --init --depth 1 && scripts/pkgdep.sh --rdma
14
17
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
-
18
18
# 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 \
25
20
--without-fio --with-raid5f --with-vhost --without-pmdk --without-rbd \
26
21
--with-rdma --without-shared --with-iscsi-initiator --without-vtune --with-vfio-user
27
22
You can’t perform that action at this time.
0 commit comments