Show More
@@ -226,6 +226,7 b' packaging_targets := \\' | |||
|
226 | 226 | fedora \ |
|
227 | 227 | linux-wheels \ |
|
228 | 228 | linux-wheels-x86_64 \ |
|
229 | linux-wheels-x86_64-musl \ | |
|
229 | 230 | linux-wheels-i686 \ |
|
230 | 231 | ppa |
|
231 | 232 |
@@ -45,8 +45,10 b' help:' | |||
|
45 | 45 | @echo 'linux-wheels' |
|
46 | 46 | @echo ' Build Linux manylinux wheels using Docker.' |
|
47 | 47 | @echo '' |
|
48 | @echo 'linux-wheels-{x86_64, i686}' | |
|
48 | @echo 'linux-wheels-{x86_64, i686}{,-musl}' | |
|
49 | 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 | 52 | @echo '' |
|
51 | 53 | @echo 'deb' |
|
52 | 54 |
@echo |
@@ -125,8 +127,7 b' endef' | |||
|
125 | 127 | $(foreach release,$(RHEL_RELEASES),$(eval $(call rhel_targets,$(release)))) |
|
126 | 128 | |
|
127 | 129 | .PHONY: linux-wheels |
|
128 | linux-wheels: linux-wheels-x86_64 | |
|
129 | ||
|
130 | linux-wheels: linux-wheels-x86_64 linux-wheels-x86_64-musl | |
|
130 | 131 | |
|
131 | 132 | img_reg="registry.heptapod.net/mercurial/ci-images" |
|
132 | 133 | img_tag="v3.0" |
@@ -136,6 +137,10 b' whl_sh="/src/contrib/packaging/build-lin' | |||
|
136 | 137 | linux-wheels-x86_64: |
|
137 | 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 | 144 | .PHONY: linux-wheels-i686 |
|
140 | 145 | linux-wheels-i686: |
|
141 | 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