From 3e41f4fb41ef8529c87d9208c8e5959621f6f135 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Mon, 31 Oct 2022 18:54:40 +0300 Subject: [PATCH] build `patchelf` for ARMv7 from source. --- docker/armv7l_wheel.Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/armv7l_wheel.Dockerfile b/docker/armv7l_wheel.Dockerfile index 159c3b9b..b62a7f13 100644 --- a/docker/armv7l_wheel.Dockerfile +++ b/docker/armv7l_wheel.Dockerfile @@ -16,9 +16,13 @@ RUN \ pkg-config \ autoconf \ automake \ - cmake \ - patchelf && \ + cmake && \ python3 -m pip install --upgrade pip && \ + echo "**** Installing patchelf ****" && \ + git clone https://github.com/NixOS/patchelf.git && \ + cd patchelf && \ + ./bootstrap.sh && ./configure && make && make check && make install && \ + cd .. && \ echo "**** Install python build dependencies ****" && \ python3 -m pip install cffi pytest && \ echo "**** Start building ****" && \