comparison Makefile @ 32080:fcddcf442e4f stable

packaging: add make target for linux wheels Having linux wheels is going to helps system without compiler or python-dev plus speed up the installation for everyone. I followed the manylinux example repository https://github.com/pypa/python-manylinux-demo to add a make target (build-linux-wheels) using official docker image to build python 2 linux wheels for mercurial. It generates Python 2.6 and Python 2.7 for both 32 and 64 bits architectures. I had to blacklist several test cases for various reasons: * test-convert-git.t and test-subrepo-git.t because of the git version * test-patchbomb-tls.t because of warning using tls 1.0 It's likely because the docker image is based on centos 5.0 and openssl is outdated.
author Boris Feld <boris.feld@octobus.net>
date Tue, 25 Apr 2017 16:50:01 +0200
parents 6359976b43be
children 2daba41c3b80 197eb93560b3
comparison
equal deleted inserted replaced
32079:76ed60630dd5 32080:fcddcf442e4f
268 268
269 docker-centos7: 269 docker-centos7:
270 mkdir -p packages/centos7 270 mkdir -p packages/centos7
271 contrib/dockerrpm centos7 271 contrib/dockerrpm centos7
272 272
273 linux-wheels: linux-wheels-x86_64 linux-wheels-i686
274
275 linux-wheels-x86_64:
276 docker run -e "HGTEST_JOBS=$(shell nproc)" --rm -ti -v `pwd`:/src quay.io/pypa/manylinux1_x86_64 /src/contrib/build-linux-wheels.sh
277
278 linux-wheels-i686:
279 docker run -e "HGTEST_JOBS=$(shell nproc)" --rm -ti -v `pwd`:/src quay.io/pypa/manylinux1_i686 linux32 /src/contrib/build-linux-wheels.sh
280
273 .PHONY: help all local build doc cleanbutpackages clean install install-bin \ 281 .PHONY: help all local build doc cleanbutpackages clean install install-bin \
274 install-doc install-home install-home-bin install-home-doc \ 282 install-doc install-home install-home-bin install-home-doc \
275 dist dist-notests check tests check-code update-pot \ 283 dist dist-notests check tests check-code update-pot \
276 osx deb ppa docker-debian-jessie \ 284 osx deb ppa docker-debian-jessie \
277 docker-ubuntu-trusty docker-ubuntu-trusty-ppa \ 285 docker-ubuntu-trusty docker-ubuntu-trusty-ppa \
278 docker-ubuntu-xenial docker-ubuntu-xenial-ppa \ 286 docker-ubuntu-xenial docker-ubuntu-xenial-ppa \
279 docker-ubuntu-yakkety docker-ubuntu-yakkety-ppa \ 287 docker-ubuntu-yakkety docker-ubuntu-yakkety-ppa \
280 fedora20 docker-fedora20 fedora21 docker-fedora21 \ 288 fedora20 docker-fedora20 fedora21 docker-fedora21 \
281 centos5 docker-centos5 centos6 docker-centos6 centos7 docker-centos7 289 centos5 docker-centos5 centos6 docker-centos6 centos7 docker-centos7 \
290 linux-wheels