Skip to content

Commit

Permalink
Makefile platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Jul 30, 2023
1 parent 5eaa65e commit 20554f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
@@ -1,6 +1,7 @@
.PHONY: release test python python-test docker

LIB_DIR := lib/Linux-$(shell uname -m)
PLATFORMS ?= linux/amd64,linux/arm64,linux/arm/v7

release:
mkdir -p build
Expand Down Expand Up @@ -28,4 +29,4 @@ python-wheel:
LD_LIBRARY_PATH='espeak-ng/build/lib' .venv/bin/python3 setup.py bdist_wheel

docker:
docker buildx build . --platform 'linux/amd64,linux/arm64,linux/arm/v7' --output 'type=local,dest=dist'
docker buildx build . --platform "$(PLATFORMS)" --output 'type=local,dest=dist'

0 comments on commit 20554f2

Please sign in to comment.