From b6b64ee92fb8872670b6cec1fde14f6bbe175ab8 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 12 Feb 2021 12:39:05 +0100 Subject: Compile lxm vs -O0 if arm* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://travis-ci.com/github/collivier/functest-xtesting/jobs/482530072 Change-Id: I70004fbd6b695a5e50e330f9d0bfacc755610a65 Signed-off-by: Cédric Ollivier --- docker/core/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile index 5579be4c..58c07a5e 100644 --- a/docker/core/Dockerfile +++ b/docker/core/Dockerfile @@ -7,6 +7,10 @@ RUN apk -U upgrade && \ apk --no-cache add --update python py-pip bash git mailcap libxml2 libxslt && \ apk --no-cache add --virtual .build-deps --update \ python-dev build-base libxml2-dev libxslt-dev && \ + case $(uname -m) in aarch*|arm*) CFLAGS="-O0" \ + pip install --no-cache-dir --src /src \ + -chttps://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt \ + -chttps://git.opnfv.org/functest-xtesting/plain/upper-constraints.txt?h=$BRANCH lxml ;; esac && \ git init /src/functest-xtesting && \ (cd /src/functest-xtesting && \ git fetch --tags https://gerrit.opnfv.org/gerrit/functest-xtesting $BRANCH && \ -- cgit 1.2.3-korg