Skip to content

Commit babcecd

Browse files
bug: fix fio build so it can be used on other cpus (#1178)
use the --disable-native option so it does not optmize for the cpu.
1 parent 39ebc92 commit babcecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fio/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN [ -z "$FIO_VERSION" ] && echo "FIO_VERSION is required" && exit 1 || true
1717
RUN wget -O fio.tar.gz -q https://api.github.com/repos/axboe/fio/tarball/fio-$FIO_VERSION
1818
RUN tar -xzf fio.tar.gz --strip-components=1
1919

20-
RUN ./configure --build-static
20+
RUN ./configure --build-static --disable-native
2121
RUN make -j$(nproc)
2222

2323
FROM ubuntu:22.04

0 commit comments

Comments
 (0)