comparison contrib/packaging/Makefile @ 52266:af88f2b9b5b7 stable

wheel: reintroduce the building of i686 wheel We now have image to make that work.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 15 Nov 2024 16:22:01 +0100
parents c1a3e388b0e4
children
comparison
equal deleted inserted replaced
52265:a1f2e25b6b38 52266:af88f2b9b5b7
125 endef 125 endef
126 126
127 $(foreach release,$(RHEL_RELEASES),$(eval $(call rhel_targets,$(release)))) 127 $(foreach release,$(RHEL_RELEASES),$(eval $(call rhel_targets,$(release))))
128 128
129 .PHONY: linux-wheels 129 .PHONY: linux-wheels
130 linux-wheels: linux-wheels-x86_64 linux-wheels-x86_64-musl 130 linux-wheels: linux-wheels-x86_64 linux-wheels-x86_64-musl linux-wheels-i686 linux-wheels-i686-musl
131 131
132 img_reg="registry.heptapod.net/mercurial/ci-images" 132 img_reg="registry.heptapod.net/mercurial/ci-images"
133 img_tag="v3.0" 133 img_tag="v3.0"
134 whl_sh="/src/contrib/packaging/build-linux-wheels.sh" 134 whl_sh="/src/contrib/packaging/build-linux-wheels.sh"
135 135
141 linux-wheels-x86_64-musl: 141 linux-wheels-x86_64-musl:
142 docker run --rm -ti -v `pwd`/../..:/src $(img_reg)/core-wheel-x86_64-musl-c:$(img_tag) $(whl_sh) 142 docker run --rm -ti -v `pwd`/../..:/src $(img_reg)/core-wheel-x86_64-musl-c:$(img_tag) $(whl_sh)
143 143
144 .PHONY: linux-wheels-i686 144 .PHONY: linux-wheels-i686
145 linux-wheels-i686: 145 linux-wheels-i686:
146 docker run -e "HGTEST_JOBS=$(shell nproc)" --rm -ti -v `pwd`/../..:/src quay.io/pypa/manylinux1_i686 linux32 /src/contrib/packaging/build-linux-wheels.sh 146 docker run --rm -ti -v `pwd`/../..:/src $(img_reg)/core-wheel-i686-c:$(img_tag) $(whl_sh)
147
148 .PHONY: linux-wheels-i686-musl
149 linux-wheels-i686-musl:
150 docker run --rm -ti -v `pwd`/../..:/src $(img_reg)/core-wheel-i686-musl-c:$(img_tag) $(whl_sh)