From 9c1f5470a6377be6499748ed111810c9d3f80511 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Thu, 24 Oct 2024 10:12:30 -0700 Subject: [PATCH] wheels: Disable optimizations for liberasurecode Previously we could build with, for example, AVX optimizations which would not necessarily be available on all the machines we'd hope to be able to use wheels. Note that ISA-L has some fancy multi-binary-dispatchers thing going on that should do the right thing at run-time, but liberasurecode doesn't know how to do that. Change-Id: Iadfe6e7c7820761040d0da278636350fc0b50f9d --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7082152..b300864 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,7 +58,7 @@ ADD https://github.com/openstack/liberasurecode/archive/${LIBERASURECODE_TAG}.ta RUN tar -C /opt/src -x -f /opt/src/liberasurecode.tar.gz -z RUN cd /opt/src/liberasurecode*/ && \ ./autogen.sh && \ - CFLAGS="-DLIBERASURECODE_SO_SUFFIX='"'"'"${SO_SUFFIX}"'"'"'" ./configure --prefix=/usr && \ + CFLAGS="-DLIBERASURECODE_SO_SUFFIX='"'"'"${SO_SUFFIX}"'"'"'" ./configure --prefix=/usr --disable-mmi && \ make && \ make install