Skip to content

Commit

Permalink
Set the same flags explicitly like we do for the manylinux wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauszus committed Jan 11, 2020
1 parent 878e23b commit 5cb75d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/Dockerfile.armv7l
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ RUN [ "cross-build-start" ]
RUN /bin/bash -c 'source .ci/ubuntu_ci.sh && \
export PIP_EXTRA_INDEX_URL="https://www.piwheels.org/simple" && \
install_kivy_test_run_apt_deps && \
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install xorg && \
DEBIAN_FRONTEND=noninteractive apt-get -y install xorg && \
install_python && \
install_kivy_test_run_pip_deps'

# Download the Raspberry Pi firmware if we are targeting the Raspberry Pi 1-3.
# Download the Raspberry Pi firmware, so Raspberry Pi 1-3 can use the 'egl_rpi' window provider.
ARG KIVY_CROSS_PLATFORM=""
ARG KIVY_CROSS_SYSROOT=""
RUN if [ "$KIVY_CROSS_PLATFORM" = "rpi" ]; then \
Expand All @@ -24,6 +24,6 @@ RUN if [ "$KIVY_CROSS_PLATFORM" = "rpi" ]; then \
fi

# Build the wheel.
RUN KIVY_SPLIT_EXAMPLES=1 KIVY_CROSS_PLATFORM="$KIVY_CROSS_PLATFORM" KIVY_CROSS_SYSROOT="$KIVY_CROSS_SYSROOT" USE_X11=1 python3 -m pip -v wheel --extra-index-url https://www.piwheels.org/simple . -w /kivy-wheel
RUN KIVY_SPLIT_EXAMPLES=1 USE_X11=1 USE_SDL2=1 USE_PANGOFT2=0 USE_GSTREAMER=0 KIVY_CROSS_PLATFORM="$KIVY_CROSS_PLATFORM" KIVY_CROSS_SYSROOT="$KIVY_CROSS_SYSROOT" python3 -m pip -v wheel --extra-index-url https://www.piwheels.org/simple . -w /kivy-wheel

RUN [ "cross-build-end" ]

0 comments on commit 5cb75d0

Please sign in to comment.