##// END OF EJS Templates
wheel: add a target for amdx86_64-musl wheels...
marmoute -
r53157:c1a3e388 stable
parent child Browse files
Show More
@@ -226,6 +226,7 b' packaging_targets := \\'
226 fedora \
226 fedora \
227 linux-wheels \
227 linux-wheels \
228 linux-wheels-x86_64 \
228 linux-wheels-x86_64 \
229 linux-wheels-x86_64-musl \
229 linux-wheels-i686 \
230 linux-wheels-i686 \
230 ppa
231 ppa
231
232
@@ -45,8 +45,10 b' help:'
45 @echo 'linux-wheels'
45 @echo 'linux-wheels'
46 @echo ' Build Linux manylinux wheels using Docker.'
46 @echo ' Build Linux manylinux wheels using Docker.'
47 @echo ''
47 @echo ''
48 @echo 'linux-wheels-{x86_64, i686}'
48 @echo 'linux-wheels-{x86_64, i686}{,-musl}'
49 @echo ' Build Linux manylinux wheels for a specific architecture using Docker'
49 @echo ' Build Linux manylinux wheels for a specific architecture using Docker'
50 @echo ' The -musl variants is suitable for system using "musl" instead of "glibc",
51 @echo ' for example: Alpine linux.'
50 @echo ''
52 @echo ''
51 @echo 'deb'
53 @echo 'deb'
52 @echo ' Build a Debian package locally targeting the current system'
54 @echo ' Build a Debian package locally targeting the current system'
@@ -125,8 +127,7 b' endef'
125 $(foreach release,$(RHEL_RELEASES),$(eval $(call rhel_targets,$(release))))
127 $(foreach release,$(RHEL_RELEASES),$(eval $(call rhel_targets,$(release))))
126
128
127 .PHONY: linux-wheels
129 .PHONY: linux-wheels
128 linux-wheels: linux-wheels-x86_64
130 linux-wheels: linux-wheels-x86_64 linux-wheels-x86_64-musl
129
130
131
131 img_reg="registry.heptapod.net/mercurial/ci-images"
132 img_reg="registry.heptapod.net/mercurial/ci-images"
132 img_tag="v3.0"
133 img_tag="v3.0"
@@ -136,6 +137,10 b' whl_sh="/src/contrib/packaging/build-lin'
136 linux-wheels-x86_64:
137 linux-wheels-x86_64:
137 docker run --rm -ti -v `pwd`/../..:/src $(img_reg)/core-wheel-x86_64-c:$(img_tag) $(whl_sh)
138 docker run --rm -ti -v `pwd`/../..:/src $(img_reg)/core-wheel-x86_64-c:$(img_tag) $(whl_sh)
138
139
140 .PHONY: 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)
143
139 .PHONY: linux-wheels-i686
144 .PHONY: linux-wheels-i686
140 linux-wheels-i686:
145 linux-wheels-i686:
141 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 -e "HGTEST_JOBS=$(shell nproc)" --rm -ti -v `pwd`/../..:/src quay.io/pypa/manylinux1_i686 linux32 /src/contrib/packaging/build-linux-wheels.sh
General Comments 0
You need to be logged in to leave comments. Login now