Skip to content
Snippets Groups Projects
Commit c1a3e388 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

wheel: add a target for amdx86_64-musl wheels

These can be installed on alpine… which is quite useful.
parent 391ddc98
No related branches found
No related tags found
2 merge requests!1100Merge stable into default,!1084wheel: add a target for musl linux and other nightly build improvement.
...@@ -226,6 +226,7 @@ ...@@ -226,6 +226,7 @@
fedora \ fedora \
linux-wheels \ linux-wheels \
linux-wheels-x86_64 \ linux-wheels-x86_64 \
linux-wheels-x86_64-musl \
linux-wheels-i686 \ linux-wheels-i686 \
ppa ppa
......
...@@ -45,5 +45,5 @@ ...@@ -45,5 +45,5 @@
@echo 'linux-wheels' @echo 'linux-wheels'
@echo ' Build Linux manylinux wheels using Docker.' @echo ' Build Linux manylinux wheels using Docker.'
@echo '' @echo ''
@echo 'linux-wheels-{x86_64, i686}' @echo 'linux-wheels-{x86_64, i686}{,-musl}'
@echo ' Build Linux manylinux wheels for a specific architecture using Docker' @echo ' Build Linux manylinux wheels for a specific architecture using Docker'
...@@ -49,4 +49,6 @@ ...@@ -49,4 +49,6 @@
@echo ' Build Linux manylinux wheels for a specific architecture using Docker' @echo ' Build Linux manylinux wheels for a specific architecture using Docker'
@echo ' The -musl variants is suitable for system using "musl" instead of "glibc",
@echo ' for example: Alpine linux.'
@echo '' @echo ''
@echo 'deb' @echo 'deb'
@echo ' Build a Debian package locally targeting the current system' @echo ' Build a Debian package locally targeting the current system'
...@@ -125,8 +127,7 @@ ...@@ -125,8 +127,7 @@
$(foreach release,$(RHEL_RELEASES),$(eval $(call rhel_targets,$(release)))) $(foreach release,$(RHEL_RELEASES),$(eval $(call rhel_targets,$(release))))
.PHONY: linux-wheels .PHONY: linux-wheels
linux-wheels: linux-wheels-x86_64 linux-wheels: linux-wheels-x86_64 linux-wheels-x86_64-musl
img_reg="registry.heptapod.net/mercurial/ci-images" img_reg="registry.heptapod.net/mercurial/ci-images"
img_tag="v3.0" img_tag="v3.0"
...@@ -136,6 +137,10 @@ ...@@ -136,6 +137,10 @@
linux-wheels-x86_64: linux-wheels-x86_64:
docker run --rm -ti -v `pwd`/../..:/src $(img_reg)/core-wheel-x86_64-c:$(img_tag) $(whl_sh) docker run --rm -ti -v `pwd`/../..:/src $(img_reg)/core-wheel-x86_64-c:$(img_tag) $(whl_sh)
.PHONY: linux-wheels-x86_64-musl
linux-wheels-x86_64-musl:
docker run --rm -ti -v `pwd`/../..:/src $(img_reg)/core-wheel-x86_64-musl-c:$(img_tag) $(whl_sh)
.PHONY: linux-wheels-i686 .PHONY: linux-wheels-i686
linux-wheels-i686: linux-wheels-i686:
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 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment