mirror of https://github.com/kivy/kivy.git
Set the same flags explicitly like we do for the manylinux wheel
This commit is contained in:
parent
878e23b17f
commit
5cb75d09bd
|
@ -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 \
|
||||
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue