diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2017-01-08 13:45:52 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2017-01-08 13:45:52 +0100 |
commit | 1f0fbb14dcd7e4fd5388be482280d1c7dfd7e5fa (patch) | |
tree | 0d44109a739228b9bc72be2b84cfc30fafafa5c3 | |
parent | 361891affc30e53894db70281058e52eb9643a35 (diff) | |
download | python-lxml-1f0fbb14dcd7e4fd5388be482280d1c7dfd7e5fa.tar.gz |
add support for building 32bit wheels (not currently working due to a zlib integration problem in the wheel repair step)
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -13,6 +13,7 @@ CYTHON3_WITH_COVERAGE=$(shell $(PYTHON3) -c 'import Cython.Coverage; import sys; MANYLINUX_LIBXML2_VERSION=2.9.3 MANYLINUX_LIBXSLT_VERSION=1.1.29 MANYLINUX_IMAGE_X86_64=quay.io/pypa/manylinux1_x86_64 +MANYLINUX_IMAGE_686=quay.io/pypa/manylinux1_i686 .PHONY: all inplace rebuild-sdist sdist build require-cython wheel_manylinux wheel @@ -39,14 +40,16 @@ require-cython: @[ -n "$(PYTHON_WITH_CYTHON)" ] || { \ echo "NOTE: missing Cython - please use this command to install it: $(PYTHON) -m pip install Cython"; false; } -wheel_manylinux: dist/lxml-$(LXMLVERSION).tar.gz +wheel_manylinux: wheel_manylinux64 # wheel_manylinux32 + +wheel_manylinux32 wheel_manylinux64: dist/lxml-$(LXMLVERSION).tar.gz time docker run --rm -t \ -v $(shell pwd):/io \ -e CFLAGS="-O3 -mtune=generic -pipe -fPIC" \ -e LDFLAGS="$(LDFLAGS)" \ -e LIBXML2_VERSION="$(MANYLINUX_LIBXML2_VERSION)" \ -e LIBXSLT_VERSION="$(MANYLINUX_LIBXSLT_VERSION)" \ - $(MANYLINUX_IMAGE_X86_64) \ + $(if $(patsubst %32,,$@),$(MANYLINUX_IMAGE_X86_64),$(MANYLINUX_IMAGE_686)) \ bash /io/tools/manylinux/build-wheels.sh /io/$< wheel: |